load-importer-livejournal
Fires before an importer screen is loaded.
This is one of the variants of the dynamic hook load-importer-(importer)
Usage
add_action( 'load-importer-livejournal', 'wp_kama_load_importer_livejournal_action' );
/**
* Function for `load-importer-livejournal` action-hook.
*
* @return void
*/
function wp_kama_load_importer_livejournal_action(){
// action...
}Changelog
| Since 3.5.0 | Introduced. |
Where the hook is called
In file: /wp-admin/admin.php
load-importer-livejournal
wp-admin/admin.php 340
do_action( "load-importer-{$importer}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores