WP_Hook::key()
Returns the key of the current element.
Description Description
Return Return
(mixed) Returns current priority on success, or NULL on failure
Source Source
File: wp-includes/class-wp-hook.php
public function key() {
return key( $this->callbacks );
}
Expand full source code Collapse full source code View on Trac
Changelog Changelog
| Version | Description |
|---|---|
| 4.7.0 | Introduced. |