Update opt-in value to 'yes'

This commit is contained in:
Justin Shreve 2019-11-07 13:24:14 -05:00
parent 18925f2218
commit ff68f30c2c
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ class WC_Admin_Setup_Wizard {
public function wc_setup_new_onboarding_save() {
check_admin_referer( 'wc-setup' );
update_option( 'wc_onboarding_opt_in', true );
update_option( 'wc_onboarding_opt_in', 'yes' );
if ( function_exists( 'wc_admin_url' ) ) {
$this->wc_setup_redirect_to_wc_admin_onboarding();