AnsPress_BasePage_Shortcode::get_instance()

Description #

Get current instance.

Source #

File: includes/shortcode-basepage.php

	public static function get_instance() {
		// Create an object.
		if ( null === self::$instance ) {
			self::$instance = new self();
		}

		return self::$instance; // Return the object.
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment