WP_Hook::offsetUnset

Advertisement

Summery Summery

Unsets a specified offset.

Syntax Syntax

WP_Hook::offsetUnset( mixed $offset )

Parameters Parameters

$offset

(mixed) (Required) The offset to unset.

Source Source

File: wp-includes/class-wp-hook.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.