Docs: Remove incorrect @param
tags for admin_print_footer_scripts-{$hook_suffix}
and admin_footer-{$hook_suffix}
dynamic actiona.
Remove `@global` tags as well as they are not suited to describe a function parameter and are documented in the description of the actions. Props keesiemeijer. Fixes #39527. git-svn-id: https://develop.svn.wordpress.org/trunk@39755 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
588290ccee
commit
efefa1d05e
@ -78,10 +78,6 @@ do_action( 'admin_footer', '' );
|
||||
* refers to the global hook suffix of the current page.
|
||||
*
|
||||
* @since 4.6.0
|
||||
*
|
||||
* @global string $hook_suffix
|
||||
*
|
||||
* @param string $hook_suffix The current admin page.
|
||||
*/
|
||||
do_action( "admin_print_footer_scripts-{$hook_suffix}" );
|
||||
|
||||
@ -99,9 +95,6 @@ do_action( 'admin_print_footer_scripts' );
|
||||
* refers to the global hook suffix of the current page.
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @global string $hook_suffix
|
||||
* @param string $hook_suffix The current admin page.
|
||||
*/
|
||||
do_action( "admin_footer-{$hook_suffix}" );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user