wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_supports_ai › WordPress Filter Hooks

Da7.0.0
Deprecaton/a
› apply_filters( 'wp_supports_ai', true )
Parametri:
  • () is_enabled Whether AI is available. Default to true.
    Richiesto: Sì
Definito a:
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.




Sorgenti

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