Disable the Custom Internal CSS added by theme.json for Certain Pages
We can look into the wp_enqueue_global_styles() function, that calls wp_should_load_separate_core_block_assets() and see it contains e.g. the should_load_separate_core_block_assets filter but we can’t disable the global styles on the front-end, using this filter because of: /* * Global styles should be printed in the head when loading all styles combined. * The footer should only be used … Read more