Yoast\WP\SEO\Presenters\Admin

Indexing_Failed_Notification_Presenter::has_valid_premium_subscription()protectedYoast 1.0

Determines if the site has a valid Premium subscription.

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

Хуков нет.

Возвращает

true|false.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->has_valid_premium_subscription();

Код Indexing_Failed_Notification_Presenter::has_valid_premium_subscription() Yoast 22.4

protected function has_valid_premium_subscription() {
	return $this->class_addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG );
}