wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_ai_client_{$event_name} › WordPress Action Hooks

Since7.0.0
Deprecatedn/a
do_action( "wp_ai_client_{$event_name}", $event )
Parameters:
  • () event The event object.
    Required: Yes
Defined at:
Codex:

Fires when an AI client event is dispatched.

The dynamic portion of the hook name, `$event_name`, refers to the snake_case version of the event class name, without the `_event` suffix. For example, an event class named `BeforeGenerateResultEvent` will fire the `wp_ai_client_before_generate_result` action hook. In practice, the available action hook names are: - wp_ai_client_before_generate_result - wp_ai_client_after_generate_result




Source

do_action( "wp_ai_client_{$event_name}", $event );