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:
Drew Jaynes (DrewAPicture) 2014-04-25 07:53:09 +00:00
parent 609cf29058
commit 0f759f0c01
2 changed files with 3 additions and 3 deletions

View File

@ -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 );

View File

@ -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'] );