How to dequeue wp_get_custom_css in Twenty Twenty Theme

Question

How to remove Additional CSS from loading. It loads as internal style sheet on every page. I am doing this but it is not working.

add_action( 'wp_enqueue_scripts', 'mywptheme_child_deregister_styles', 11 );
function mywptheme_child_deregister_styles() {
    wp_dequeue_style( 'wp-custom-css' );
 
}
0
Ahsan Najam 3 months 0 Answers 8 views 0

Leave an answer