Yoast_Form::get_instance()public staticYoast 2.0

Get the singleton instance of this class.

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

Хуков нет.

Возвращает

Yoast_Form.

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

$result = Yoast_Form::get_instance();

Список изменений

С версии 2.0 Введена.

Код Yoast_Form::get_instance() Yoast 22.3

public static function get_instance() {
	if ( ! ( self::$instance instanceof self ) ) {
		self::$instance = new self();
	}

	return self::$instance;
}