CollaborationComment
3 weeks ago
Collection
3 weeks ago
AccessLevels.php
3 weeks ago
CollaborationConnectionType.php
3 weeks ago
CollaborationParent.php
3 weeks ago
CollaborationStatus.php
3 weeks ago
CollectionTypes.php
3 weeks ago
GlobalDataKeys.php
3 days ago
KirkiDateTimeFormat.php
3 weeks ago
OptionKeys.php
3 weeks ago
PageContentTypes.php
3 days ago
PageMetaKeys.php
3 days ago
PostStatus.php
3 weeks ago
PostTypes.php
3 weeks ago
UserMetaKeys.php
3 weeks ago
UtilityPageType.php
3 weeks ago
PageMetaKeys.php
90 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 GLOBAL_STYLE_BLOCK_DEPRECATED = 'kirki_global_style_block'; |
| 22 | |
| 23 | /** |
| 24 | * Current Page Style Blocks |
| 25 | * @see KIRKI_GLOBAL_STYLE_BLOCK_META_KEY_RANDOM |
| 26 | */ |
| 27 | const STYLE_BLOCKS = 'kirki_global_style_block_random'; |
| 28 | |
| 29 | /** |
| 30 | * Used Global Style Block IDs |
| 31 | * @see KIRKI_META_NAME_FOR_USED_STYLE_BLOCK_IDS |
| 32 | */ |
| 33 | const USED_GLOBAL_STYLE_BLOCK_IDS = 'kirki_used_style_block_ids'; |
| 34 | |
| 35 | /** |
| 36 | * Used Current Page Style Block IDS |
| 37 | * @see KIRKI_META_NAME_FOR_USED_STYLE_BLOCK_IDS_RANDOM |
| 38 | */ |
| 39 | const USED_STYLE_BLOCK_IDS = 'kirki_used_style_block_ids_random'; |
| 40 | |
| 41 | /** |
| 42 | * @see KIRKI_META_NAME_FOR_USED_FONT_LIST |
| 43 | */ |
| 44 | const USED_FONT_LIST = 'kirki_used_font_list'; |
| 45 | |
| 46 | /** |
| 47 | * @see 'kirki' |
| 48 | */ |
| 49 | const BLOCKS = 'kirki'; |
| 50 | |
| 51 | /** |
| 52 | * @see KIRKI_META_NAME_FOR_POST_EDITOR_MODE |
| 53 | */ |
| 54 | const EDITOR_MODE = 'kirki_editor_mode'; |
| 55 | |
| 56 | const TEMPLATE_CONDITIONS = 'kirki_template_conditions'; |
| 57 | |
| 58 | const TEMPLATE_COLLECTION_TYPE = 'kirki_template_collection_type'; |
| 59 | |
| 60 | const UTILITY_PAGE_TYPE = 'kirki_utility_page_type'; |
| 61 | |
| 62 | const PAGE_TEMPLATE = '_wp_page_template'; |
| 63 | |
| 64 | /** |
| 65 | * @see KIRKI_META_NAME_FOR_PAGE_HF_SYMBOL_DISABLE_STATUS |
| 66 | */ |
| 67 | const DISABLED_PAGE_SYMBOLS = 'kirki_disabled_page_symbols'; |
| 68 | |
| 69 | const VARIABLE_MODE ='kirki_variable_mode'; |
| 70 | |
| 71 | const CUSTOM_CODE = 'kirki_page_custom_code'; |
| 72 | |
| 73 | const SEO_SETTINGS = 'kirki_page_seo_settings'; |
| 74 | |
| 75 | public static function get_single_post_keys() |
| 76 | { |
| 77 | return [ |
| 78 | static::VARIABLE_MODE, |
| 79 | static::DISABLED_PAGE_SYMBOLS, |
| 80 | static::TEMPLATE_CONDITIONS, |
| 81 | static::TEMPLATE_COLLECTION_TYPE, |
| 82 | static::UTILITY_PAGE_TYPE, |
| 83 | static::BLOCKS, |
| 84 | static::STYLE_BLOCKS, |
| 85 | static::USED_FONT_LIST, |
| 86 | ]; |
| 87 | } |
| 88 | |
| 89 | } |
| 90 |