Returns the key of the current element.
(mixed) Returns current priority on success, or NULL on failure
File: wp-includes/class-wp-hook.php
public function key() {
return key( $this->callbacks );
} | Version | Description |
|---|---|
| 4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_hook/key