Changeset 28010 for trunk/src/wp-includes/plugin.php
- Timestamp:
- 04/07/2014 09:29:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/plugin.php
r27999 r28010 329 329 * 330 330 * @since 3.9.0 331 * 331 332 * @uses current_filter() 332 333 * … … 341 342 * 342 343 * The function current_filter() only returns the most recent filter or action 343 * being executed. 344 * processed. 344 * being executed. did_action() returns true once the action is initially 345 * processed. This function allows detection for any filter currently being 345 346 * executed (despite not being the most recent filter to fire, in the case of 346 347 * hooks called from hook callbacks) to be verified. 347 348 * 348 349 * @since 3.9.0 350 * 349 351 * @see current_filter() 350 352 * @see did_action() 351 * 352 * @param string $filter Optional. Filter to check. Defaults to null, which checks if any filter is currently being run. 353 * 354 * @global array $wp_current_filter 355 * 353 * @global array $wp_current_filter Current filter. 354 * 355 * @param null|string $filter Optional. Filter to check. Defaults to null, which 356 * checks if any filter is currently being run. 356 357 * @return bool Whether the filter is currently in the stack 357 358 */ … … 370 371 * 371 372 * @since 3.9.0 373 * 372 374 * @uses doing_filter() 373 375 * 374 * @param string $action Optional. Action to check. Defaults to null, which checks if any action is currently being run.375 * 376 * @param string|null $action Optional. Action to check. Defaults to null, which checks 377 * if any action is currently being run. 376 378 * @return bool Whether the action is currently in the stack. 377 379 */
Note: See TracChangeset
for help on using the changeset viewer.