WP_Hook::key()

Returns the key of the current element.


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

Changelog
Version Description
WP-4.7.0 Introduced.