Changeset 39431 for branches/4.7/src/wp-includes/class-wp-hook.php
- Timestamp:
- 12/02/2016 07:10:56 AM (4 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/class-wp-hook.php
r38573 r39431 353 353 354 354 /** 355 * Return the current priority level of the currently running iteration of the hook. 356 * 357 * @since 4.7.0 358 * @access public 359 * 360 * @return int|false If the hook is running, return the current priority level. If it isn't running, return false. 361 */ 362 public function current_priority() { 363 if ( false === current( $this->iterations ) ) { 364 return false; 365 } 366 367 return current( current( $this->iterations ) ); 368 } 369 370 /** 355 371 * Normalizes filters set up before WordPress has initialized to WP_Hook objects. 356 372 *
Note: See TracChangeset
for help on using the changeset viewer.