for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Displays the first page of the Wizard in a banner form
*
* @package Jetpack
*/
* Jetpack_Wizard class
class Jetpack_Wizard {
* Can the Wizard be displayed?
* @return bool
public static function can_be_displayed() {
* Determines if the Setup Wizard is displayed or not.
* @since 8.5.0
* @param array $jetpack_show_setup_wizard If true, the Setup Wizard will be displayed. Otherwise it will not display.
return apply_filters( 'jetpack_show_setup_wizard', false )
&& Jetpack::is_active()
&& current_user_can( 'jetpack_manage_modules' )
&& 'completed' !== Jetpack_Options::get_option( 'setup_wizard_status' );
}