mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-25 22:02:57 +02:00
Docs: Use correct order of arguments in the DocBlock for WP_Hook::has_filter()
.
Props munyagu. Fixes #41941. Built from https://develop.svn.wordpress.org/trunk@41551 git-svn-id: http://core.svn.wordpress.org/trunk@41384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
800ad7bd04
commit
da3e29eeba
@ -189,9 +189,9 @@ final class WP_Hook implements Iterator, ArrayAccess {
|
|||||||
*
|
*
|
||||||
* @since 4.7.0
|
* @since 4.7.0
|
||||||
*
|
*
|
||||||
* @param callable|bool $function_to_check Optional. The callback to check for. Default false.
|
|
||||||
* @param string $tag Optional. The name of the filter hook. Used for building
|
* @param string $tag Optional. The name of the filter hook. Used for building
|
||||||
* the callback ID when SPL is not available. Default empty.
|
* the callback ID when SPL is not available. Default empty.
|
||||||
|
* @param callable|bool $function_to_check Optional. The callback to check for. Default false.
|
||||||
* @return bool|int The priority of that hook is returned, or false if the function is not attached.
|
* @return bool|int The priority of that hook is returned, or false if the function is not attached.
|
||||||
*/
|
*/
|
||||||
public function has_filter( $tag = '', $function_to_check = false ) {
|
public function has_filter( $tag = '', $function_to_check = false ) {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-alpha-41550';
|
$wp_version = '4.9-alpha-41551';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user