WP_Hook::key(): int|null

In this article

Returns the key of the current element.

Return

int|null Returns current priority on success, or NULL on failure

Source

#[ReturnTypeWillChange]
public function key() {
	return key( $this->callbacks );
}

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

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