wp_theme_json_data_user

过滤钩子
apply_filters( 'wp_theme_json_data_user', new WP_Theme_JSON_Data( $config, 'custom' )

对用户提供的全局样式和设置的数据进行过滤。

$theme_json = apply_filters( 'wp_theme_json_data_user', new WP_Theme_JSON_Data( $config, 'custom' ) );