Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/class-wp-theme-json-schema.php

WP_Theme_JSON_Schema

Class: Class that migrates a given theme.json structure to the latest schema.

Source: wp-includes/class-wp-theme-json-schema.php:21

Used by 0 functions | Uses 0 functions

WP_Theme_JSON_Schema::migrate()

Method: Function that migrates a given theme.json structure to the last version.

Source: wp-includes/class-wp-theme-json-schema.php:43

Used by 2 functions | Uses 1 function

WP_Theme_JSON_Schema::migrate_v1_to_v2()

Method: Removes the custom prefixes for a few properties that were part of v1:

Source: wp-includes/class-wp-theme-json-schema.php:72

Used by 1 function | Uses 1 function

WP_Theme_JSON_Schema::rename_paths()

Method: Processes the settings subtree.

Source: wp-includes/class-wp-theme-json-schema.php:97

Used by 1 function | Uses 1 function

WP_Theme_JSON_Schema::rename_settings()

Method: Processes a settings array, renaming or moving properties.

Source: wp-includes/class-wp-theme-json-schema.php:121

Used by 1 function | Uses 3 functions

WP_Theme_JSON_Schema::unset_setting_by_path()

Method: Removes a property from within the provided settings by its path.

Source: wp-includes/class-wp-theme-json-schema.php:144

Used by 1 function | Uses 0 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry