WP_Hook::valid()
Checks if current position is valid.
Return
(boolean)
Source
File: wp-includes/class-wp-hook.php
public function valid() {
return key( $this->callbacks ) !== null;
}
Changelog
Version | Description |
---|---|
WP-4.7.0 | Introduced. |