Yoast\WP\SEO\Actions

Indexables_Page_Action::set_indexables_state()publicYoast 1.0

Sets the indexables overview state.

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

Хуков нет.

Возвращает

true|false. Whether saving the indexables overview state succeeded.

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

$Indexables_Page_Action = new Indexables_Page_Action();
$Indexables_Page_Action->set_indexables_state( $state );
$state(строка) (обязательный)
The state to be saved.

Код Indexables_Page_Action::set_indexables_state() Yoast 19.11

public function set_indexables_state( $state ) {
	return $this->options_helper->set( 'indexables_overview_state', $state );
}