WordPress\AiClient

AiClient::getEventDispatcherpublic staticWP 0.4.0

Gets the event dispatcher for prompt lifecycle events.

Метод класса: AiClient{}

Хуков нет.

Возвращает

EventDispatcherInterface|null. The event dispatcher, or null if not set.

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

$result = AiClient::getEventDispatcher(): ?EventDispatcherInterface;

Список изменений

С версии 0.4.0 Введена.

Код AiClient::getEventDispatcher() WP 7.0

public static function getEventDispatcher(): ?EventDispatcherInterface
{
    return self::$eventDispatcher;
}