LLMS_Generator::is_generator_valid( string $generator )
Determine if a generator is a valid generator.
Parameters Parameters
- $generator
-
(string) (Required) Generator name.
Return Return
(bool)
Source Source
File: includes/class.llms.generator.php
protected function is_generator_valid( $generator ) { return in_array( $generator, array_keys( $this->get_generators() ), true ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.36.3 | Introduced. |