Skip to content

ai_assistant_chat_system_prompt

github-actions[bot] edited this page Nov 14, 2026 · 3 revisions

Auto-generated Example

add_filter(
   'ai_assistant_chat_system_prompt',
    function(
        $get_system_prompt,
        $current_ai_changes
    ) {
        // Your code here.
        return $get_system_prompt;
    },
    10,
    2
);

Parameters

  • $get_system_prompt
  • $current_ai_changes

Files

apply_filters(
            'ai_assistant_chat_system_prompt',
            $settings->get_system_prompt(),
            $current_ai_changes
        )

← All Hooks

Clone this wiki locally