1 | <?php |
||
11 | class Jetpack_Wizard { |
||
12 | |||
13 | /** |
||
14 | * Has the user started the Wizard? |
||
15 | * |
||
16 | * @return bool |
||
17 | */ |
||
18 | public static function is_started() { |
||
22 | |||
23 | /** |
||
24 | * Has the user finished the Wizard? |
||
25 | * |
||
26 | * @return bool |
||
27 | */ |
||
28 | public static function is_finished() { |
||
32 | |||
33 | /** |
||
34 | * Can the Wizard be displayed? |
||
35 | * |
||
36 | * @return bool |
||
37 | */ |
||
38 | public static function can_be_displayed() { |
||
43 | |||
44 | // TODO: move save and get from the endpoint (update_setup_questionnaire() and get_setup_questionnaire()) to this class. |
||
45 | } |
||
46 |