apply_filters( ‘wp_theme_json_data_user’, WP_Theme_JSON_Data $theme_json )

In this article

Filters the data provided by the user 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_user', new WP_Theme_JSON_Data( $config, 'custom' ) );

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

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