
WP-CLI v2 – 通过终端管理WordPress
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' ) );