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: |
|
| 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_resultRelated Functions: wp_ai_client_prompt, wp_get_nav_menu_name, wp_maintenance, wp_maybe_decline_date, wp_create_nav_menu, wp_js_dataset_name