WP_Hook::offsetExists

Advertisement

Summery Summery

Determines whether an offset value exists.

Syntax Syntax

WP_Hook::offsetExists( mixed $offset )

Parameters Parameters

$offset

(Required) An offset to check for.

Return Return

(bool) True if the offset exists, false otherwise.

Source Source

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

	public function offsetExists( $offset ) {
		return isset( $this->callbacks[ $offset ] );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply