Changeset 50811 for trunk/src/wp-includes/class-wp-hook.php
- Timestamp:
- 05/04/2021 03:00:33 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-hook.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-hook.php
r50807 r50811 51 51 52 52 /** 53 * Flag for if we're current doing an action, rather than a filter.53 * Flag for if we're currently doing an action, rather than a filter. 54 54 * 55 55 * @since 4.7.0 … … 59 59 60 60 /** 61 * Adds a callback function to the specifiedfilter hook.61 * Adds a callback function to a filter hook. 62 62 * 63 63 * @since 4.7.0 … … 65 65 * @param string $hook_name The name of the filter to add the callback to. 66 66 * @param callable $callback The callback to be run when the filter is applied. 67 * @param int $priority The order in which the functions associated with a particular action67 * @param int $priority The order in which the functions associated with a particular filter 68 68 * are executed. Lower numbers correspond with earlier execution, 69 69 * and functions with the same priority are executed in the order 70 * in which they were added to the action.70 * in which they were added to the filter. 71 71 * @param int $accepted_args The number of arguments the function accepts. 72 72 */ … … 165 165 166 166 /** 167 * Removes a callback function from the specifiedfilter hook.167 * Removes a callback function from a filter hook. 168 168 * 169 169 * @since 4.7.0
Note: See TracChangeset
for help on using the changeset viewer.