Docs: Add and correct examples of common names for various dynamic hooks.
See #53581 Built from https://develop.svn.wordpress.org/trunk@51327 git-svn-id: http://core.svn.wordpress.org/trunk@50936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -320,6 +320,16 @@ if ( isset( $plugin_page ) ) {
|
||||
*
|
||||
* 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`
|
||||
*
|
||||
* @since 3.5.0
|
||||
*/
|
||||
do_action( "load-importer-{$importer}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
Reference in New Issue
Block a user