Gets connect account settings (e.g. payment method)
public get_account_settings ( ) : array | ||
return | array |
/** * Mutate-able settings bootstrapped to the view -- should be * identical to what is returned by the WC_REST_Connect_Settings_Controller * GET /connect/settings endpoint (see callbackURL below) */ public function get_form_data() { return $this->service_settings_store->get_account_settings(); }