wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_supports_ai › Filtr WordPress Hooks

Od7.0.0
Przestarzałyn/a
› apply_filters( 'wp_supports_ai', true )
Parametry:
  • () is_enabled Whether AI is available. Default to true.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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