W3cubDocs

/WordPress

apply_filters( ‘wp_theme_json_data_default’, WP_Theme_JSON_Data $theme_json )

Filters the default data provided by WordPress for global styles & settings.

Parameters

$theme_jsonWP_Theme_JSON_Data
Class to access and update the underlying data.

Source

$theme_json = apply_filters( 'wp_theme_json_data_default', new WP_Theme_JSON_Data( $config, 'default' ) );

Changelog

Version Description
6.1.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_theme_json_data_default