WP_Hook::key

Advertisement

Summery Summery

Returns the key of the current element.

Syntax Syntax

WP_Hook::key()

Return Return

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

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply