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.
Related Posts:
- Use wp_enqueue_scripts, not wp_print_styles?
- How to combine multiple CSS files and concatenate JavaScripts if WordPress recommends enqueuing them?
- Relative path instead of absolute for wp_enqueue_script
- Custom Admin CSS styles to style media uploader?
- WP CLI Get all Enqueued Scripts and Styles
- How to insert html/css/javascript code to wordpress plugin
- Child theme stylesheet not always overriding “index”
- Display Something in the Header After All Styles are Loaded
- How can I force Dynamic CSS via ACF values to update on page load?
- functions.php – inject inline css from file
- enqueing Javascript and CSS
- Load custom CSS before admin CSS
- Including CSS files in HEAD based on page content
- Bootstrap Integtration
- Bootstrap 4 Optimization
- plugin not loading my css and js
- Where is the right place to register/enqueue scripts & styles
- Could the WP script/style loader be used to concatenate and gzip scripts and styles in the front-end?
- How to enqueue scripts on custom post add/edit pages?
- How can I get a list of all enqueued scripts and styles?
- Remove Open Sans from Twenty Twelve theme
- How to load scripts/styles specific for a page
- Enqueue Google Web Fonts Without Messing Up Symbols In URL
- Inbuilt style for jquery-ui-datepicker
- Why is style.css not being enqueued?
- How to conditionally enqueue a stylesheet only for a certain page(s)?
- How to enqueue style before style.css
- How to add stylesheets only to pages with specific shortcode?
- wp_enqueue_scripts, wp_register_scripts, wp_print_scripts: i’m confused
- What is the correct way to enqueue multiple CSS files?
- Hook ‘wp_enqueue_scripts’ priority has no effect
- Remove wp_add_inline_style
- Is it possible to enqueue a raw CSS string directly from within a template file?
- Why I can’t add a CSS style in this WordPress theme?
- When can you get current page ID and initialize hooks right after?
- Get list of registered or enqued styles? looking for filters or actions
- How can I dequeue a Plugin Stylesheet?
- What can I hook into after_setup_theme?
- Why isn’t my theme processing SASS?
- Adding style sheet to specific page
- How do I load custom scripts and styles for a page?
- How Can I Use A Child Theme Effectively When Parent’s CSS Is Located in a ‘CSS folder’?
- WordPress Register Style Called Incorrectly
- Why does wp_enqueue_script ignore my ‘wp_head’ hook?
- Disable child theme css on certain pages
- How can I enqueue a style only when a particular widget is active?
- When enqueing a stylesheet, is it possible to remove the type attribute? [duplicate]
- Enqueued Stylesheets Effecting Admin Styles
- wp_enqueue_script + how to load JS or CSS in one URL merge call?
- Load custom css after bootstrap
- Enqueue style for Password Reset page
- The correct way to include JavaScript and CSS in my WordPress Themes
- Is it possible to change the path of a css file that is registered through wp_enqueue_style()?
- How can I remove css from a child theme?
- How to load script-related styles automatically?
- get_stylesheet_uri returns wrong path
- Override load-styles.php with admin screen css
- Hook after wp_enqueue_scripts
- CSS file not registering through add_action
- Relative path in wp_register_style not working
- getting url in wp_enqueue_style
- Same Conditionals Not Working on Two Different Hooks
- Deregister scripts on unnecessary pages using remove_action
- How to remove scripts/style added to customize_controls_enqueue_scripts hook by current active theme
- How the Css File is Linked without calling it in header.php?
- Loading different stylesheet on WordPress pages?
- Use wp_add_inline_style to add code to before wp_head?
- why enqueued styles in header.php shows in footer?
- Adding external stylesheet after ALL other styles
- Different ways to load child theme css
- How to enqueue a random css style?
- How to Add Custom CSS to the Media Thickbox?
- How to override Bootstrap css with my child theme css in wordpress?
- Enqueue styles in new site editor in WordPress 5.9
- How to integrate my HTML and javascript into my child theme
- How to organize priority of plugins CSS files?
- why this media query is not working / not loading when I put it in child theme?
- Where is the right place to register/enqueue scripts & styles
- How do I make header.php use different css for different pages?
- Load CSS in footer, like your can with JS?
- jQuery does not work
- How to call a static function in add_action() inside another static function?
- Enqueuing a script before anything else
- Child Theme CSS not showing at all
- Is it good practice moving the main stylesheets after the plugin styles?
- Faster fonts on mobile
- Scripts not loading when using the wp_enqueue_scripts action
- wp_enqueue_scripts and CSS
- Custom Plugin – CSS works, JS doesn’t
- Why is my css and js not enqueued until footer?
- Ordering stylesheet above using functions.php
- My CSS suddenly doesn’t load anymore [closed]
- Append style tag in head while shortcode runs
- How can I move my custom css to the very bottom of the head section?
- CSS getting injected into index from somewhere after theme/custom CSS is loaded, overriding all of my CSS [closed]
- Theme JS is available but theme CSS isn’t
- How would one set or override a Fallback font for characters in second language?
- First element/selector of enqueued CSS file breaks
- I want to set global directory locations for my CSS and JS locations. How?
- Custom CSS not being added by plugin