Dequeue styles with query doesn’t work
Thank you very much @Tom J Nowell and @Sally CJ . As you pointed out, it worked with the below: function remove_inline_style(){ if ( is_page( ‘live’ ) ){ remove_action( ‘wp_enqueue_scripts’, array( Design_Scheme::get_instance(), ‘header_style_css’ ), 11 ); } } add_action( ‘wp_enqueue_scripts’, ‘remove_inline_style’); thank you for your help.