WP_AI_Client_Prompt_Builder::is_support_check_methodprivate staticWP 7.0.0

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

Method of the class: WP_AI_Client_Prompt_Builder{}

No Hooks.

Returns

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

Usage

$result = WP_AI_Client_Prompt_Builder::is_support_check_method( $name ): bool;
$name(string) (required)
The method name.

Changelog

Since 7.0.0 Introduced.

WP_AI_Client_Prompt_Builder::is_support_check_method() code WP 7.0

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