LLMS_Shortcode::instance()

Get the singleton instance for the extending class


Return Return

(obj)


Top ↑

Source Source

File: includes/abstracts/abstract.llms.shortcode.php

79
80
81
82
83
84
85
86
87
88
89
public static function instance() {
 
    $class = get_called_class();
 
    if ( ! isset( self::$_instances[ $class ] ) ) {
        self::$_instances[ $class ] = new $class();
    }
 
    return self::$_instances[ $class ];
 
}

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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