AI (category)

wp_ai_client_prompt()

Creates a prompt builder object for AI and allows you to describe an AI request through a chain of methods: prompt text, system instruction, preferred models, files, response format, and other parameters.

wp_get_ability()

Gets a registered ability object from the Abilities API.

wp_get_ability_categories()

Gets all registered ability categories.

wp_get_connector()

Gets a registered connector by its identifier.

wp_get_connectors()

Gets all registered connectors. Connector identifiers are used as array keys.

wp_has_ability()

Checks whether an ability is registered in the Abilities API.

wp_has_ability_category()

Checks whether the specified ability category is registered.

wp_is_connector_registered()

Checks whether a connector with the specified identifier is registered.

wp_register_ability()

Registers a new ability in the Abilities API.

wp_register_ability_category()

Registers a new ability category in the Abilities API.

wp_register_core_ability_categories()

Registers WordPress's default ability categories:

wp_supports_ai()

Checks whether AI features of WordPress can be used in the current environment.

wp_unregister_ability()

Removes a previously registered ability from the global Abilities API registry.

wp_unregister_ability_category()

Removes a registered ability category from the global registry.