WP_Hook::offsetExists( mixed $offset )
Determines whether an offset value exists.
Description Description
Parameters Parameters
- $offset
-
(mixed) (Required) An offset to check for.
Return Return
(bool) True if the offset exists, false otherwise.
Source Source
File: wp-includes/class-wp-hook.php
public function offsetExists( $offset ) { return isset( $this->callbacks[ $offset ] ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |