Yoast\WP\SEO\Routes

Wincher_Route::get_authorization_url()publicYoast 1.0

Returns the authorization URL.

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

Хуков нет.

Возвращает

WP_REST_Response. The response.

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

$Wincher_Route = new Wincher_Route();
$Wincher_Route->get_authorization_url();

Код Wincher_Route::get_authorization_url() Yoast 19.11

public function get_authorization_url() {
	$data = $this->login_action->get_authorization_url();
	return new WP_REST_Response( $data, $data->status );
}