W3cubDocs

/WordPress

WP_Hook::offsetUnset( $offset )

Source

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

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_hook/offsetunset