WP_Hook::offsetUnset( mixed $offset )

In this article

Unsets a specified offset.

Parameters

$offsetmixedrequired
The offset to unset.

Source

#[ReturnTypeWillChange]
public function offsetUnset( $offset ) {
	unset( $this->callbacks[ $offset ] );
	$this->priorities = array_keys( $this->callbacks );
}

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.