Yoast\WP\SEO\Actions

Settings_Introduction_Action::get_show()publicYoast 1.0

Retrieves the show value.

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

Хуков нет.

Возвращает

true|false. The value of show.

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

$Settings_Introduction_Action = new Settings_Introduction_Action();
$Settings_Introduction_Action->get_show();

Код Settings_Introduction_Action::get_show() Yoast 20.4

public function get_show() {
	$user_id = $this->user_helper->get_current_user_id();
	$values  = $this->get_values_for_user( $user_id );

	return $values['show'];
}