CollaborationComment
2 weeks ago
Collection
2 weeks ago
AccessLevels.php
2 weeks ago
CollaborationConnectionType.php
2 weeks ago
CollaborationParent.php
2 weeks ago
CollaborationStatus.php
2 weeks ago
CollectionTypes.php
2 weeks ago
GlobalDataKeys.php
2 weeks ago
KirkiDateTimeFormat.php
2 weeks ago
OptionKeys.php
2 weeks ago
PageMetaKeys.php
2 weeks ago
PostStatus.php
2 weeks ago
PostTypes.php
2 weeks ago
UserMetaKeys.php
2 weeks ago
UtilityPageType.php
2 weeks ago
PageMetaKeys.php
87 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Kirki\App\Constants; |
| 4 | |
| 5 | defined('ABSPATH') || exit; |
| 6 | |
| 7 | use Kirki\Framework\Concerns\HasConstants; |
| 8 | |
| 9 | class PageMetaKeys |
| 10 | { |
| 11 | use HasConstants; |
| 12 | |
| 13 | /** |
| 14 | * @see KIRKI_META_NAME_FOR_STAGED_VERSIONS |
| 15 | */ |
| 16 | const STAGED_VERSIONS = 'kirki_stage_versions'; |
| 17 | |
| 18 | /** |
| 19 | * @see KIRKI_GLOBAL_STYLE_BLOCK_META_KEY |
| 20 | */ |
| 21 | const STYLE_BLOCK = 'kirki_global_style_block'; |
| 22 | |
| 23 | /** |
| 24 | * @see KIRKI_GLOBAL_STYLE_BLOCK_META_KEY_RANDOM |
| 25 | */ |
| 26 | const STYLE_BLOCK_RANDOM = 'kirki_global_style_block_random'; |
| 27 | |
| 28 | /** |
| 29 | * @see KIRKI_META_NAME_FOR_USED_STYLE_BLOCK_IDS |
| 30 | */ |
| 31 | const USED_STYLE_BLOCK_IDS = 'kirki_used_style_block_ids'; |
| 32 | |
| 33 | /** |
| 34 | * @see KIRKI_META_NAME_FOR_USED_STYLE_BLOCK_IDS_RANDOM |
| 35 | */ |
| 36 | const USED_STYLE_BLOCK_IDS_RANDOM = 'kirki_used_style_block_ids_random'; |
| 37 | |
| 38 | /** |
| 39 | * @see KIRKI_META_NAME_FOR_USED_FONT_LIST |
| 40 | */ |
| 41 | const USED_FONT_LIST = 'kirki_used_font_list'; |
| 42 | |
| 43 | /** |
| 44 | * @see 'kirki' |
| 45 | */ |
| 46 | const BLOCKS = 'kirki'; |
| 47 | |
| 48 | /** |
| 49 | * @see KIRKI_META_NAME_FOR_POST_EDITOR_MODE |
| 50 | */ |
| 51 | const EDITOR_MODE = 'kirki_editor_mode'; |
| 52 | |
| 53 | const TEMPLATE_CONDITIONS = 'kirki_template_conditions'; |
| 54 | |
| 55 | const TEMPLATE_COLLECTION_TYPE = 'kirki_template_collection_type'; |
| 56 | |
| 57 | const UTILITY_PAGE_TYPE = 'kirki_utility_page_type'; |
| 58 | |
| 59 | const PAGE_TEMPLATE = '_wp_page_template'; |
| 60 | |
| 61 | /** |
| 62 | * @see KIRKI_META_NAME_FOR_PAGE_HF_SYMBOL_DISABLE_STATUS |
| 63 | */ |
| 64 | const DISABLED_PAGE_SYMBOLS = 'kirki_disabled_page_symbols'; |
| 65 | |
| 66 | const VARIABLE_MODE ='kirki_variable_mode'; |
| 67 | |
| 68 | const CUSTOM_CODE = 'kirki_page_custom_code'; |
| 69 | |
| 70 | const SEO_SETTINGS = 'kirki_page_seo_settings'; |
| 71 | |
| 72 | public static function get_single_post_keys() |
| 73 | { |
| 74 | return [ |
| 75 | static::VARIABLE_MODE, |
| 76 | static::DISABLED_PAGE_SYMBOLS, |
| 77 | static::TEMPLATE_CONDITIONS, |
| 78 | static::TEMPLATE_COLLECTION_TYPE, |
| 79 | static::UTILITY_PAGE_TYPE, |
| 80 | static::BLOCKS, |
| 81 | static::STYLE_BLOCK_RANDOM, |
| 82 | static::USED_FONT_LIST, |
| 83 | ]; |
| 84 | } |
| 85 | |
| 86 | } |
| 87 |