WP_Hook::valid()publicWP 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->valid();

Code of WP_Hook::valid() WP 6.0

public function valid() {
	return key( $this->callbacks ) !== null;
}