WP_Hook::offsetUnset()publicWP 1.0

[ReturnTypeWillChange]

{} It's a method of the class: WP_Hook{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Hook = new WP_Hook();
$WP_Hook->offsetUnset( $offset );
$offset (required)
-

Code of WP_Hook::offsetUnset() WP 6.0

public function offsetUnset( $offset ) {
	unset( $this->callbacks[ $offset ] );
}