Changeset 53809 for trunk/src/wp-includes/plugin.php
- Timestamp:
- 08/01/2022 11:13:13 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/plugin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/plugin.php
r53803 r53809 371 371 * Returns whether or not a filter hook is currently being processed. 372 372 * 373 * The function current_filter() only returns the most recent filter or action374 * being executed. did_action() returns true once the action is initially375 * processed.373 * The function current_filter() only returns the most recent filter being executed. 374 * did_filter() returns the number of times a filter has been applied during 375 * the current request. 376 376 * 377 377 * This function allows detection for any filter currently being executed … … 382 382 * 383 383 * @see current_filter() 384 * @see did_ action()384 * @see did_filter() 385 385 * @global string[] $wp_current_filter Current filter. 386 386 * … … 642 642 * Returns whether or not an action hook is currently being processed. 643 643 * 644 * The function current_action() only returns the most recent action being executed. 645 * did_action() returns the number of times an action has been fired during 646 * the current request. 647 * 648 * This function allows detection for any action currently being executed 649 * (regardless of whether it's the most recent action to fire, in the case of 650 * hooks called from hook callbacks) to be verified. 651 * 644 652 * @since 3.9.0 653 * 654 * @see current_action() 655 * @see did_action() 645 656 * 646 657 * @param string|null $hook_name Optional. Action hook to check. Defaults to null,
Note: See TracChangeset
for help on using the changeset viewer.