Yoast\WP\SEO\Routes

First_Time_Configuration_Route::get_configuration_state()publicYoast 1.0

Returns the first time configuration state.

{} Это метод класса: First_Time_Configuration_Route{}

Хуков нет.

Возвращает

WP_REST_Response. the state of the configuration.

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

$First_Time_Configuration_Route = new First_Time_Configuration_Route();
$First_Time_Configuration_Route->get_configuration_state();

Код First_Time_Configuration_Route::get_configuration_state() Yoast 19.2

public function get_configuration_state() {
	$data = $this
		->first_time_configuration_action
		->get_configuration_state();

	return new WP_REST_Response( $data, $data->status );
}