Recent

wzkb_ai_system_instructionfilterPro only

wzkb_ai_system_instruction

Filter the system instruction sent to the AI provider.

Type: filter
Since: 3.2.0
Source: includes/pro/ai/class-prompt-service.php line 317

Parameters

Type Name Description
string $instruction System instruction.
string $answer_length short or medium.

Usage

add_filter( 'wzkb_ai_system_instruction', function($instruction, $answer_length) {
    // ...
    return $instruction;
} );