wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_supports_ai › WordPress Filter Hooks

Seit7.0.0
Veraltetn/v
apply_filters( 'wp_supports_ai', true )
Parameter:
  • () is_enabled Whether AI is available. Default to true.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether the current request can use AI.

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.




Quellcode

return (bool) apply_filters( 'wp_supports_ai', true );