WPSEO_Frontend::get_instance()public staticYoast 1.0

Retrieves an instance of the class.

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

Хуков нет.

Возвращает

static. The instance.

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

$result = WPSEO_Frontend::get_instance();

Код WPSEO_Frontend::get_instance() Yoast 22.4

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

	return self::$instance;
}