Changeset 49927 for trunk/src/wp-includes/class-wp-hook.php
- Timestamp:
- 01/03/2021 10:02:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-hook.php
r49926 r49927 96 96 * @since 4.7.0 97 97 * 98 * @param bool|int $new_priority Optional. The priority of the new filter being added. Default false,99 * for no priority being added.100 * @param bool $priority_existed Optional. Flag for whether the priority already existed before the new101 * filter was added. Default false.98 * @param false|int $new_priority Optional. The priority of the new filter being added. Default false, 99 * for no priority being added. 100 * @param bool $priority_existed Optional. Flag for whether the priority already existed before the new 101 * filter was added. Default false. 102 102 */ 103 103 private function resort_active_iterations( $new_priority = false, $priority_existed = false ) { … … 193 193 * @since 4.7.0 194 194 * 195 * @param string $tag Optional. The name of the filter hook. Default empty.196 * @param callable| bool$function_to_check Optional. The callback to check for. Default false.197 * @return bool|int The priority of that hook is returned, or false if the function is not attached.195 * @param string $tag Optional. The name of the filter hook. Default empty. 196 * @param callable|false $function_to_check Optional. The callback to check for. Default false. 197 * @return false|int The priority of that hook is returned, or false if the function is not attached. 198 198 */ 199 199 public function has_filter( $tag = '', $function_to_check = false ) { … … 237 237 * @since 4.7.0 238 238 * 239 * @param int| bool$priority Optional. The priority number to remove. Default false.239 * @param int|false $priority Optional. The priority number to remove. Default false. 240 240 */ 241 241 public function remove_all_filters( $priority = false ) {
Note: See TracChangeset
for help on using the changeset viewer.