mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 19:24:34 +00:00
Correct misleading verbiage in 'print' hook docs.
Standardizes 'print' hook docs on the concept that hooks are fired when scripts and styles are printed. Props ericlewis for the initial patch. Fixes #26924. git-svn-id: https://develop.svn.wordpress.org/trunk@27695 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -80,28 +80,28 @@ var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>',
|
||||
do_action( 'admin_enqueue_scripts', $hook_suffix );
|
||||
|
||||
/**
|
||||
* Print styles for a specific admin page based on $hook_suffix.
|
||||
* Fires when styles are printed for a specific admin page based on $hook_suffix.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
do_action( "admin_print_styles-$hook_suffix" );
|
||||
|
||||
/**
|
||||
* Print styles for all admin pages.
|
||||
* Fires when styles are printed for all admin pages.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
do_action( 'admin_print_styles' );
|
||||
|
||||
/**
|
||||
* Print scripts for a specific admin page based on $hook_suffix.
|
||||
* Fires when scripts are printed for a specific admin page based on $hook_suffix.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "admin_print_scripts-$hook_suffix" );
|
||||
|
||||
/**
|
||||
* Print scripts for all admin pages.
|
||||
* Fires when scripts are printed for all admin pages.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user