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