WordPress at Your Fingertips
function is not described

WP_Hook::key() public WP 1.0

[ReturnTypeWillChange]

{} It's a method of the class: WP_Hook{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Hook = new WP_Hook();
$WP_Hook->key();

Code of WP_Hook::key() WP 5.9

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