Mark the `$hook` and `$page_hook` hooks as `@internal` to skip parsing.
See #26869. git-svn-id: https://develop.svn.wordpress.org/trunk@28216 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
609cf29058
commit
0f759f0c01
|
@ -204,8 +204,7 @@ if ( isset($plugin_page) ) {
|
|||
/**
|
||||
* Used to call the registered callback for a plugin screen.
|
||||
*
|
||||
* @access private
|
||||
*
|
||||
* @internal
|
||||
* @since 1.5.0
|
||||
*/
|
||||
do_action( $page_hook );
|
||||
|
|
|
@ -92,10 +92,11 @@ foreach ( $crons as $timestamp => $cronhooks ) {
|
|||
/**
|
||||
* Fires scheduled events.
|
||||
*
|
||||
* @internal
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @param string $hook Name of the hook that was scheduled to be fired.
|
||||
* @param array $v['args'] The arguments to be passed to the hook.
|
||||
* @param array $args The arguments to be passed to the hook.
|
||||
*/
|
||||
do_action_ref_array( $hook, $v['args'] );
|
||||
|
||||
|
|
Loading…
Reference in New Issue