LDLMS_Factory::add_instance LDLMS_Factory::add_instance( string $model = '', int|string $key = null, mixed $args ) Add Model instance. ContentsDescription Parameters Source Changelog Related @package Used By Description # Parameters # $model (string) (Optional) Class name to add. Default value: '' $key (int|string) (Optional) Unique key for instance. Default value: null $args (mixed) (Required) Args passed to class constructor. Source # File: includes/classes/class-ldlms-factory.php Changelog # Changelog Version Description 2.5.0 Introduced. Related # @package # LearnDash Used By # Used By Used By Description includes/classes/class-ldlms-factory.php: LDLMS_Factory::get_instance () Get the current instance of this class or new.
Used By # Used By Used By Description includes/classes/class-ldlms-factory.php: LDLMS_Factory::get_instance () Get the current instance of this class or new.