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_json WP_Theme_JSON_Data
Class to access and update the underlying data.

Top ↑

Source

File: wp-includes/class-wp-theme-json-resolver.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
6.1.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.