return translate_settings_using_i18n_schema( static::
$i18n_schema,
$theme_json,
$domain );
} /**
* Returns core's origin config.
*
* @since 5.8.0
*
* @return WP_Theme_JSON Entity that holds core data.
*/
public static function get_core_data() { if ( null !==
static::
$core &&
static::
has_same_registered_blocks( 'core'
) ) { return static::
$core;
} $config =
static::
read_json_file( __DIR__ . '/theme.json'
);
$config =
static::
translate( $config );
/**
* Filters the default data provided by WordPress for global styles & settings.
*
* @since 6.1.0
*
* @param WP_Theme_JSON_Data $theme_json Class to access and update the underlying data.
*/