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