LLMS_Shortcode::instance()

Get the singleton instance for the extending class


Return Return

(obj)


Top ↑

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 ];

	}

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.