WP_Hook::key()

Returns the key of the current element.


Description


Return

(mixed) Returns current priority on success, or NULL on failure


Top ↑

Source

File: wp-includes/class-wp-hook.php

	public function key() {
		return key( $this->callbacks );
	}

Top ↑

Changelog

Version Description
4.7.0 Introduced.