Yoast_Network_Settings_API::get()public staticYoast 1.0

Gets the singleton instance of this class.

Метод класса: Yoast_Network_Settings_API{}

Хуков нет.

Возвращает

Yoast_Network_Settings_API. The singleton instance.

Использование

$result = Yoast_Network_Settings_API::get();

Код Yoast_Network_Settings_API::get() Yoast 19.11

public static function get() {

	if ( self::$instance === null ) {
		self::$instance = new self();
	}

	return self::$instance;
}