load-importer-(importer)
Fires before an importer screen is loaded.
The dynamic portion of the hook name, $importer, refers to the importer slug.
Possible hook names include:
- load-importer-blogger
- load-importer-wpcat2tag
- load-importer-livejournal
- load-importer-mt
- load-importer-rss
- load-importer-tumblr
- load-importer-wordpress
Usage
add_action( 'load-importer-(importer)', 'wp_kama_load_importer_action' ); /** * Function for `load-importer-(importer)` action-hook. * * @return void */ function wp_kama_load_importer_action(){ // action... }
Changelog
Since 3.5.0 | Introduced. |
Where the hook is called
In file: /wp-admin/admin.php
load-importer-(importer)
wp-admin/admin.php 335
do_action( "load-importer-{$importer}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores