Hi there.
I’d like to remove x-generated-css from my websites head section. I understand this will mean I can’t use customizer, and I’m fine with that.
I’ve tried this:
function remove_inline_customizer_css () {
remove_action( ‘wp_head’, ‘x_customizer_generated_css_output’, 9998);
}
add_action(‘after_setup_theme’, ‘remove_inline_customizer_css’);
which seems to have no effect.
T|his:
function x_output_generated_styles() {
//Empty
}
which breaks my webste, as the function is already called in frontend/styles.php - If i remove the function from frontend/styles.php, the website works, but loses styling (even thiough the styles are declared in the child theme)
can you help me remove this chunk of code from head?
Thanks