Skip to content

Commit

Permalink
Import: Add the import_filters action hook to the Import screen.
Browse files Browse the repository at this point in the history
This changeset introduces the new `import_filters` action hook at the end of the Import screen, consistently with other admin screens like `export.php`.

Props audrasjb, lenasterg.
Fixes #54419.
See #19863.




git-svn-id: https://develop.svn.wordpress.org/trunk@59701 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
audrasjb committed Jan 24, 2025
1 parent 9729880 commit 5a213bf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/wp-admin/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,13 @@
esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) )
) . '</p>';
}

/**
* Fires at the end of the Import screen.
*
* @since 6.8.0
*/
do_action( 'import_filters' );
?>

</div>
Expand Down

0 comments on commit 5a213bf

Please sign in to comment.