WP_Hook::key
Returns the key of the current element.
Method of the class: WP_Hook{}
No Hooks.
Returns
Mixed. Returns current priority on success, or NULL on failure
Usage
$WP_Hook = new WP_Hook(); $WP_Hook->key();
Changelog
| Since 4.7.0 | Introduced. |
WP_Hook::key() WP Hook::key code WP 6.9.1
public function key() {
return key( $this->callbacks );
}