WP_Hook::offsetGet() WordPress Method
The WP_Hook::offsetGet() method allows you to get a specific registered callback from a WordPress hook. This is useful if you need to unregister a callback or change its priority.
WP_Hook::offsetGet( $offset ) #
Contents
Source
File: wp-includes/class-wp-hook.php
public function offsetGet( $offset ) { return isset( $this->callbacks[ $offset ] ) ? $this->callbacks[ $offset ] : null; }
Expand full source codeCollapse full source codeView on TracView on GitHub