theme_json_default

theme_json_default

Hook Type: filter

See hook in core

Displaying hooks found in version: gutenberg.14.3.1

apply_filters('theme_json_default') is found 1 times:

  • /lib/compat/wordpress-6.1/class-wp-theme-json-resolver-6-1.php line 64
    		 * Filters the default data provided by WordPress for global styles & settings.
    		 *
    		 * @param WP_Theme_JSON_Data_Gutenberg Class to access and update the underlying data.
    		 */
    		$theme_json   = apply_filters( 'theme_json_default', new WP_Theme_JSON_Data_Gutenberg( $config, 'default' ) );
    		$config       = $theme_json->get_data();
    		static::$core = new WP_Theme_JSON_Gutenberg( $config, 'default' );
    
    		return static::$core;
    	}