Changeset 49929 for trunk/src/wp-includes/class-wp-hook.php
- Timestamp:
- 01/04/2021 05:16:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-hook.php
r49928 r49929 195 195 * @param string $tag Optional. The name of the filter hook. Default empty. 196 196 * @param callable|false $function_to_check Optional. The callback to check for. Default false. 197 * @return int|boolIf `$function_to_check` is omitted, returns boolean for whether the hook has197 * @return bool|int If `$function_to_check` is omitted, returns boolean for whether the hook has 198 198 * anything registered. When checking a specific function, the priority of that 199 199 * hook is returned, or false if the function is not attached.
Note: See TracChangeset
for help on using the changeset viewer.