Automattic\WooCommerce\Internal\Admin\Settings\PaymentsProviders\WooPayments
WooPaymentsService::get_wpcom_connection_authorization
Get the WPCOM (Jetpack) connection authorization details.
Method of the class: WooPaymentsService{}
No Hooks.
Returns
Array. The WPCOM connection authorization details.
Usage
// private - for code of main (parent) class only $result = $this->get_wpcom_connection_authorization( $return_url ): array;
- $return_url(string) (required)
- The URL to redirect to after the connection is set up.
WooPaymentsService::get_wpcom_connection_authorization() WooPaymentsService::get wpcom connection authorization code WC 10.7.0
private function get_wpcom_connection_authorization( string $return_url ): array {
return $this->proxy->call_static( Utils::class, 'get_wpcom_connection_authorization', $return_url );
}