WordPress at a glance
function is not described

WP_Hook::offsetExists() public WP 4.7.0

Determines whether an offset value exists.

{} It's a method of the class: WP_Hook{}

No Hooks.

Return

true/false. True if the offset exists, false otherwise.

Usage

$WP_Hook = new WP_Hook();
$WP_Hook->offsetExists( $offset );
$offset(mixed) (required)
An offset to check for.

Changelog

Since 4.7.0 Introduced.

Code of WP_Hook::offsetExists() WP 5.5.3

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