WP_Hook::offsetGet
Retrieves a value at a specified offset.
Метод класса: WP_Hook{}
Хуков нет.
Возвращает
Разное. If set, the value at the specified offset, null otherwise.
Использование
$WP_Hook = new WP_Hook(); $WP_Hook->offsetGet( $offset );
- $offset(разное) (обязательный)
- The offset to retrieve.
Список изменений
| С версии 4.7.0 | Введена. |
Код WP_Hook::offsetGet() WP Hook::offsetGet WP 6.9.1
public function offsetGet( $offset ) {
return isset( $this->callbacks[ $offset ] ) ? $this->callbacks[ $offset ] : null;
}