wizard-items
1 year ago
class-wizard-constants.php
1 year ago
class-wizard-creation-util.php
1 year ago
class-wizard-exception.php
1 year ago
class-wizard-menu-creator.php
1 year ago
class-wizard-page-creator.php
1 year ago
class-wizard-part-creator.php
1 year ago
class-wizard-stage-util.php
1 year ago
class-wizard-template-provider.php
1 year ago
class-wizard-constants.php
79 lines
| 1 | <?php |
| 2 | |
| 3 | namespace SuperbAddons\Data\Utils\Wizard; |
| 4 | |
| 5 | defined('ABSPATH') || exit(); |
| 6 | |
| 7 | class WizardStageTypes |
| 8 | { |
| 9 | const HEADER_STAGE = 'header-stage'; |
| 10 | const FOOTER_STAGE = 'footer-stage'; |
| 11 | const FRONT_PAGE_STAGE = 'front-page-stage'; |
| 12 | const BLOG_PAGE_STAGE = 'blog-page-stage'; |
| 13 | const TEMPLATE_PAGE_STAGE = 'template-page-stage'; |
| 14 | const NAVIGATION_MENU_STAGE = 'navigation-menu-stage'; |
| 15 | const COMPLETION_STAGE = 'completion-stage'; |
| 16 | |
| 17 | const ALL_STAGES = [ |
| 18 | self::HEADER_STAGE, |
| 19 | self::FOOTER_STAGE, |
| 20 | self::FRONT_PAGE_STAGE, |
| 21 | self::BLOG_PAGE_STAGE, |
| 22 | self::TEMPLATE_PAGE_STAGE, |
| 23 | self::NAVIGATION_MENU_STAGE |
| 24 | ]; |
| 25 | |
| 26 | const PAGE_STAGES = [ |
| 27 | self::FRONT_PAGE_STAGE, |
| 28 | self::BLOG_PAGE_STAGE, |
| 29 | self::TEMPLATE_PAGE_STAGE |
| 30 | ]; |
| 31 | } |
| 32 | |
| 33 | class WizardSpecialBlockClassName |
| 34 | { |
| 35 | const INHERIT_TEMPLATE_QUERY = 'superbaddons-inherit-query'; |
| 36 | } |
| 37 | |
| 38 | class WizardNavigationMenuOptions |
| 39 | { |
| 40 | const CREATE_NEW_MENU = 'superbaddons-create-new-menu'; |
| 41 | const APPEND_EXISTING_MENU = 'superbaddons-append-existing-menu'; |
| 42 | const SKIP_MENU = 'superbaddons-skip-menu'; |
| 43 | } |
| 44 | |
| 45 | class WizardItemTypes |
| 46 | { |
| 47 | const WP_TEMPLATE = 'wp_template'; |
| 48 | const WP_TEMPLATE_PART = 'wp_template_part'; |
| 49 | const WP_NAVIGATION = 'wp_navigation'; |
| 50 | const PATTERN = 'superb_pattern'; |
| 51 | const PAGE = 'superb_page'; |
| 52 | } |
| 53 | |
| 54 | class WizardItemIdAffix |
| 55 | { |
| 56 | const FILE_TEMPLATE = ':::superbaddons_file_template'; |
| 57 | const RESTORATION_POINT = ':::superbaddons_restoration_point'; |
| 58 | } |
| 59 | |
| 60 | class WizardDataCategory |
| 61 | { |
| 62 | const NAVIGATION = '5jwnf0qnzth4y3p'; |
| 63 | const FOOTER = '0lsr16aihp96ado'; |
| 64 | const LANDING_PAGE = '2lc1j8j7l7v1dkj'; |
| 65 | const BLOG = 'orngta8z79g7j37'; |
| 66 | } |
| 67 | |
| 68 | class WizardActionParameter |
| 69 | { |
| 70 | const INTRO = 'intro'; |
| 71 | const ADD_NEW_PAGES = 'add-new-pages'; |
| 72 | const HEADER_FOOTER = 'header-footer'; |
| 73 | const WOOCOMMERCE_HEADER = 'woocommerce-header'; |
| 74 | const THEME_DESIGNER = 'theme-designer'; |
| 75 | const COMPLETE = 'complete'; |
| 76 | const CANCEL = 'cancel'; |
| 77 | const RESTORE = 'restore'; |
| 78 | } |
| 79 |