WP_Hook::offsetUnset() WordPress Method
The WP_Hook::offsetUnset() method allows a plugin to remove a callback from a specified hook. This is useful for plugins that need to remove callbacks that were added by other plugins.
WP_Hook::offsetUnset( $offset ) #
Contents
Source
File: wp-includes/class-wp-hook.php
public function offsetUnset( $offset ) { unset( $this->callbacks[ $offset ] ); }
Expand full source codeCollapse full source codeView on TracView on GitHub