Title: WP_AI_Client_Prompt_Builder::is_support_check_method
Published: May 20, 2026

---

# WP_AI_Client_Prompt_Builder::is_support_check_method( string $name ): bool

## In this article

 * [Parameters](https://developer.wordpress.org/reference/classes/wp_ai_client_prompt_builder/is_support_check_method/?output_format=md#parameters)
 * [Return](https://developer.wordpress.org/reference/classes/wp_ai_client_prompt_builder/is_support_check_method/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/classes/wp_ai_client_prompt_builder/is_support_check_method/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/wp_ai_client_prompt_builder/is_support_check_method/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_ai_client_prompt_builder/is_support_check_method/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/classes/wp_ai_client_prompt_builder/is_support_check_method/?output_format=md#wp--skip-link--target)

This function’s access is marked private. This means it is not intended for use 
by plugin or theme developers, only by core. It is listed here for completeness.

Checks if a method name is a support check method (is_supported*).

## 󠀁[Parameters](https://developer.wordpress.org/reference/classes/wp_ai_client_prompt_builder/is_support_check_method/?output_format=md#parameters)󠁿

 `$name`stringrequired

The method name.

## 󠀁[Return](https://developer.wordpress.org/reference/classes/wp_ai_client_prompt_builder/is_support_check_method/?output_format=md#return)󠁿

 bool True if the method is a support check method, false otherwise.

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_ai_client_prompt_builder/is_support_check_method/?output_format=md#source)󠁿

    ```php
    private static function is_support_check_method( string $name ): bool {
    	return isset( self::$support_check_methods[ $name ] );
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/ai-client/class-wp-ai-client-prompt-builder.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/ai-client/class-wp-ai-client-prompt-builder.php#L424)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/ai-client/class-wp-ai-client-prompt-builder.php#L424-L426)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/wp_ai_client_prompt_builder/is_support_check_method/?output_format=md#related)󠁿

| Used by | Description | 
| [WP_AI_Client_Prompt_Builder::__call()](https://developer.wordpress.org/reference/classes/wp_ai_client_prompt_builder/__call/)`wp-includes/ai-client/class-wp-ai-client-prompt-builder.php` |

Magic method to proxy snake_case method calls to their PHP AI Client camelCase counterparts.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_ai_client_prompt_builder/is_support_check_method/?output_format=md#changelog)󠁿

| Version | Description | 
| [7.0.0](https://developer.wordpress.org/reference/since/7.0.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_ai_client_prompt_builder%2Fis_support_check_method%2F)
before being able to contribute a note or feedback.