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-bloggerload-importer-wpcat2tagload-importer-livejournalload-importer-mtload-importer-rssload-importer-tumblrload-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 340
do_action( "load-importer-{$importer}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores