mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-21 04:11:59 +08:00
Uncomment code
This commit is contained in:
parent
cacde1b8cc
commit
cb6d352cfe
1 changed files with 4 additions and 4 deletions
|
@ -37,11 +37,11 @@ if ( ! class_exists( 'Storefront_NUX_Guided_Tour' ) ) :
|
|||
add_action( 'customize_controls_enqueue_scripts', array( $this, 'customize_scripts' ) );
|
||||
add_action( 'customize_controls_print_footer_scripts', array( $this, 'print_templates' ) );
|
||||
|
||||
// if ( current_user_can( 'manage_options' ) ) {
|
||||
if ( current_user_can( 'manage_options' ) ) {
|
||||
|
||||
// // Set Guided Tour flag so it doesn't show up again.
|
||||
// update_option( 'storefront_nux_guided_tour', true );
|
||||
// }
|
||||
// Set Guided Tour flag so it doesn't show up again.
|
||||
update_option( 'storefront_nux_guided_tour', true );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue