LLMS_Generator::is_generator_valid( string $generator )

Determine if a generator is a valid generator.


Parameters Parameters

$generator

(string) (Required) Generator name.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/class.llms.generator.php

	protected function is_generator_valid( $generator ) {

		return in_array( $generator, array_keys( $this->get_generators() ), true );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.36.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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