Skip to main content

Filter: classifai_feature_prompt

Filter a Feature's default prompt loaded from file.

Parameters​

NameTypeDescription
$promptstringThe prompt text.
$namestringThe prompt name (e.g. 'default', 'woocommerce').
$dataarrayData passed to the prompt file.
$feature\FeatureThe feature instance.

Since​

  • 3.9.0

Source​

Defined in includes/Classifai/Features/Feature.php at line 699

Returns​

The filtered prompt text.

Ready to Get Started?

ClassifAI is a Free WordPress plugin that connects to your choice of AI platforms.