Filters the data provided by the theme for global styles and settings.
Parameters
$theme_json
WP_Theme_JSON_Data- Class to access and update the underlying data.
Source
$theme_json = apply_filters( 'wp_theme_json_data_theme', new WP_Theme_JSON_Data( $theme_json_data, 'theme' ) );
Changelog
Version | Description |
---|---|
6.1.0 | Introduced. |
Add new colors to an existing palette and merge configuration:
Split
theme.json
in multiple files:In
theme-settings.json
: