Browse: Home / Classes / LDLMS_Factory /


LDLMS_Factory::get_instance( string $model = '',  string $key = null,  bool $add_instance = true )

Get the current instance of this class or new.

Description #

Parameters #


(string) (Optional) Unique identifier for model.

Default value: ''


(string) (Optional) Unique identifier for instance.

Default value: null


(bool) (Optional) Whether to add an instance.

Default value: true

Source #

File: includes/classes/class-ldlms-factory.php

Changelog #

Version Description
2.5.0 Introduced.