LLMS_Shortcode::instance()
Get the singleton instance for the extending class
Contents
Return Return
(obj)
Source Source
File: includes/abstracts/abstract.llms.shortcode.php
public static function instance() {
$class = get_called_class();
if ( ! isset( self::$_instances[ $class ] ) ) {
self::$_instances[ $class ] = new $class();
}
return self::$_instances[ $class ];
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.4.3 | Introduced. |