WP_AI_Client_Prompt_Builder::is_generating_method( string $name ): bool

In this article

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 generating method (generate_*, convert_text_to_speech*).

Parameters

$namestringrequired
The method name.

Return

bool True if the method is a generating method, false otherwise.

Source

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

Changelog

VersionDescription
7.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.