New and updated in 7.0.0
-
Checks if a connector is registered.
-
Retrieves a registered connector.
-
Retrieves the main instance of the registry class.
-
Sets the main instance of the registry class.
-
Manages the registration and lookup of connectors.
-
Exposes blocks with autoRegister flag for ServerSideRender in the editor.
-
function_block_template_add_skip_link()
Inserts the block template skip-link into the template HTML.
-
Filters whether to prevent the prompt from being executed.
Used by 1 function | Uses 0 functions | Source: wp-includes/ai-client/class-wp-ai-client-prompt-builder.php:322 -
Converts an exception into a WP_Error with a structured error code and message.
Used by 2 functions | Uses 1 function | Source: wp-includes/ai-client/class-wp-ai-client-prompt-builder.php:383 -
Checks if a method name is a support check method (is_supported*).
Used by 1 function | Uses 0 functions | Source: wp-includes/ai-client/class-wp-ai-client-prompt-builder.php:424 -
Checks if a method name is a generating method (generate_*, convert_text_to_speech*).
Used by 1 function | Uses 0 functions | Source: wp-includes/ai-client/class-wp-ai-client-prompt-builder.php:436 -
Retrieves a callable for a given PHP AI Client SDK prompt builder method name.
Used by 1 function | Uses 2 functions | Source: wp-includes/ai-client/class-wp-ai-client-prompt-builder.php:450 -
Converts snake_case to camelCase.
Used by 1 function | Uses 0 functions | Source: wp-includes/ai-client/class-wp-ai-client-prompt-builder.php:476 -
Registers WordPress abilities as function declarations for the AI model.
Used by 0 functions | Uses 6 functions | Source: wp-includes/ai-client/class-wp-ai-client-prompt-builder.php:237 -
Magic method to proxy snake_case method calls to their PHP AI Client camelCase counterparts.
Used by 0 functions | Uses 8 functions | Source: wp-includes/ai-client/class-wp-ai-client-prompt-builder.php:293 -
Executes all ability function calls in a message.
Used by 0 functions | Uses 3 functions | Source: wp-includes/ai-client/class-wp-ai-client-ability-function-resolver.php:187 -
Converts an ability name to a function name.
Used by 1 function | Uses 0 functions | Source: wp-includes/ai-client/class-wp-ai-client-ability-function-resolver.php:213 -
Converts a function name to an ability name.
Used by 1 function | Uses 0 functions | Source: wp-includes/ai-client/class-wp-ai-client-ability-function-resolver.php:227 -
Fluent builder for constructing AI prompts, returning WP_Error on failure.
Used by 0 functions | Uses 0 functions | Source: wp-includes/ai-client/class-wp-ai-client-prompt-builder.php:107 -
Constructor.
Used by 1 function | Uses 7 functions | Source: wp-includes/ai-client/class-wp-ai-client-prompt-builder.php:185 -
Filters the default request timeout in seconds for AI Client HTTP requests.
Used by 1 function | Uses 0 functions | Source: wp-includes/ai-client/class-wp-ai-client-prompt-builder.php:202 -
Constructor.
Used by 0 functions | Uses 0 functions | Source: wp-includes/ai-client/class-wp-ai-client-ability-function-resolver.php:52 -
Checks if a function call is an ability call.
Used by 2 functions | Uses 0 functions | Source: wp-includes/ai-client/class-wp-ai-client-ability-function-resolver.php:72 -
Executes a WordPress ability from a function call.
Used by 1 function | Uses 6 functions | Source: wp-includes/ai-client/class-wp-ai-client-ability-function-resolver.php:93 -
Checks if a message contains any ability function calls.
Used by 0 functions | Uses 1 function | Source: wp-includes/ai-client/class-wp-ai-client-ability-function-resolver.php:166 -
Prepares WordPress HTTP API arguments from a PSR-7 request.
Used by 2 functions | Uses 2 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-http-client.php:131 -
Prepares headers for WordPress HTTP API.
Used by 1 function | Uses 0 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-http-client.php:161 -
Prepares request body for WordPress HTTP API.
Used by 1 function | Uses 0 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-http-client.php:179 -
Creates a PSR-7 response from a WordPress HTTP response.
Used by 2 functions | Uses 4 functions | Source: wp-includes/ai-client/adapters/class-wp-ai-client-http-client.php:201 -
Resolves and executes WordPress Abilities API function calls from AI models.
Used by 0 functions | Uses 0 functions | Source: wp-includes/ai-client/class-wp-ai-client-ability-function-resolver.php:25