Changeset 49927 for trunk/src/wp-includes/plugin.php
- Timestamp:
- 01/03/2021 10:02:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/plugin.php
r49926 r49927 128 128 * @global WP_Hook[] $wp_filter Stores all of the filters and actions. 129 129 * 130 * @param string $tag The name of the filter hook.131 * @param callable| bool$function_to_check Optional. The callback to check for. Default false.130 * @param string $tag The name of the filter hook. 131 * @param callable|false $function_to_check Optional. The callback to check for. Default false. 132 132 * @return false|int If $function_to_check is omitted, returns boolean for whether the hook has 133 133 * anything registered. When checking a specific function, the priority of that … … 301 301 * @global WP_Hook[] $wp_filter Stores all of the filters and actions. 302 302 * 303 * @param string $tag The filter to remove hooks from.304 * @param int| bool$priority Optional. The priority number to remove. Default false.303 * @param string $tag The filter to remove hooks from. 304 * @param int|false $priority Optional. The priority number to remove. Default false. 305 305 * @return true True when finished. 306 306 */ … … 561 561 * @see has_filter() has_action() is an alias of has_filter(). 562 562 * 563 * @param string $tag The name of the action hook.564 * @param callable| bool$function_to_check Optional. The callback to check for. Default false.563 * @param string $tag The name of the action hook. 564 * @param callable|false $function_to_check Optional. The callback to check for. Default false. 565 565 * @return bool|int If $function_to_check is omitted, returns boolean for whether the hook has 566 566 * anything registered. When checking a specific function, the priority of that … … 597 597 * @since 2.7.0 598 598 * 599 * @param string $tag The action to remove hooks from.600 * @param int| bool$priority The priority number to remove them from. Default false.599 * @param string $tag The action to remove hooks from. 600 * @param int|false $priority The priority number to remove them from. Default false. 601 601 * @return true True when finished. 602 602 */
Note: See TracChangeset
for help on using the changeset viewer.