mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Merge pull request #545 from woocommerce/PCP-478-redirect-after-updating-settings-for-dcc
Self redirect after updating DDC settings
This commit is contained in:
commit
745aaed313
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ class SettingsListener {
|
||||||
$this->settings->set( 'message_cart_enabled', false );
|
$this->settings->set( 'message_cart_enabled', false );
|
||||||
$this->settings->persist();
|
$this->settings->persist();
|
||||||
|
|
||||||
$redirect_url = admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway' );
|
$redirect_url = admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway&ppcp-tab=ppcp-credit-card-gateway' );
|
||||||
wp_safe_redirect( $redirect_url, 302 );
|
wp_safe_redirect( $redirect_url, 302 );
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue