WPSEO_Frontend::get_instance │ public static │ Yoast 1.0

Retrieves an instance of the class.

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

Хуков нет.

Возвращает

static. The instance.

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

$result = WPSEO_Frontend::get_instance();

Код WPSEO_Frontend::get_instance() Yoast 28.6

public static function get_instance() {
	self::$instance ??= new self();

	return self::$instance;
}