mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Add and correct examples of common names for various dynamic hooks.
See #53581 git-svn-id: https://develop.svn.wordpress.org/trunk@51327 602fd350-edb4-49c9-b593-d223f7449a82
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