WordPress at a glance
function is not described

WP_Hook::offsetUnset() public WP 4.7.0

Unsets a specified offset.

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(mixed) (required)
The offset to unset.

Changelog

Since 4.7.0 Introduced.

Code of WP_Hook::offsetUnset() WP 5.5.1

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