WP_Hook::key()

Returns the key of the current element.


Description Description


Return Return

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


Top ↑

Source Source

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

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

Top ↑

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.