This allows plugins and 3rd-party code to disable AI features on a per-request basis, or to even override explicit preferences defined by the site owner.
31* preferences defined by the site owner.32*33* @since 7.0.034*35* @param bool$is_enabled Whether AI is available.Default to true.36*/37return(bool)apply_filters('wp_supports_ai',true);38}3940/**41* Creates a newAI prompt builder using the default provider registry.42*43* This is the main entry point for generating AI content in WordPress. It returns
History
Introduced in 7.0.0. Unchanged from 7.0.4 through 7.1.0.