mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Docs: Various docblock corrections particularly relating to boolean types.
See #51800 git-svn-id: https://develop.svn.wordpress.org/trunk@49926 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -187,6 +187,9 @@ final class WP_Hook implements Iterator, ArrayAccess {
|
||||
/**
|
||||
* Checks if a specific action has been registered for this hook.
|
||||
*
|
||||
* When using the $function_to_check argument, this function may return a non-boolean value
|
||||
* that evaluates to false (e.g. 0), so use the === operator for testing the return value.
|
||||
*
|
||||
* @since 4.7.0
|
||||
*
|
||||
* @param string $tag Optional. The name of the filter hook. Default empty.
|
||||
|
||||
Reference in New Issue
Block a user