WP_Hook::offsetExists() WordPress Method
The WP_Hook::offsetExists() method is a boolean method used to check if a given offset exists in the hooks array. This is useful for determining whether a particular hook has been registered with the WordPress core.
WP_Hook::offsetExists( $offset ) #
Contents
Source
File: wp-includes/class-wp-hook.php
public function offsetExists( $offset ) { return isset( $this->callbacks[ $offset ] ); }
Expand full source codeCollapse full source codeView on TracView on GitHub