Yoast\WP\SEO\Helpers

Short_Link_Helper::get_software()protectedYoast 1.0

Get our software and whether it's active or not.

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

Хуков нет.

Возвращает

Строку. The software name.

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

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

Код Short_Link_Helper::get_software() Yoast 22.4

protected function get_software() {
	if ( $this->product_helper->is_premium() ) {
		return 'premium';
	}

	return 'free';
}