Determines whether an offset value exists.
(mixed) (Required) An offset to check for.
(bool) True if the offset exists, false otherwise.
File: wp-includes/class-wp-hook.php
public function offsetExists( $offset ) { return isset( $this->callbacks[ $offset ] ); }
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_hook/offsetexists