WordPress at a glance
функция не описана

WP_Hook::offsetGet() public WP 4.7.0

Retrieves a value at a specified offset.

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

Хуков нет.

Возвращает

Mixed. If set, the value at the specified offset, null otherwise.

Использование

$WP_Hook = new WP_Hook();
$WP_Hook->offsetGet( $offset );
$offset(mixed) (required)
The offset to retrieve.

Changelog

Since 4.7.0 Introduced.

Код WP_Hook::offsetGet() WP 5.5.1

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