WP_Hook::offsetUnset( mixed $offset )
Unsets a specified offset.
Parameters
- $offset
-
(Required) The offset to unset.
Source
File: wp-includes/class-wp-hook.php
public function offsetUnset( $offset ) {
unset( $this->callbacks[ $offset ] );
}
Changelog
Version | Description |
---|---|
WP-4.7.0 | Introduced. |