My error. All I had to do was knock off the -css
and it worked.
Working code:
<?php
function dequeue_dequeue_plugin_style(){
wp_dequeue_style( 'plugin' ); //Name of Style ID.
}
add_action( 'wp_enqueue_scripts', 'dequeue_dequeue_plugin_style', 999 );
?>
Related Posts:
- How do I force wp_enqueue_scripts to load at the END of ?
- how to include other plugins css files in a shortcode?
- Get info (url) from already enqueued styles
- wp_enqueue_style in Plugin [duplicate]
- How can I enqueue a style only when a particular widget is active?
- Prevent CSS/JS loading when plugin is not used
- wp_enqueue_style specifics for overwriting plugin styles
- How to remove style and js from theme and add your own style and js where shortcode is used?
- Making a plugin only available on the front-end for the logged in super admin
- Bootstrap and Custom CSS in custom plugin are being overwritten by theme
- How to add CSS via custom plugin?
- Custom plugin – load enqueue only for this plugin
- Deregister scripts from plugin
- Custom CSS not being added by plugin
- Edit all $wp_scripts at once to $in_footer = false
- Edit all $wp_scripts at once to $in_footer = false
- Load CSS before Theme CSS
- wordpress plugin add page when activate
- Changing the CSS with a plugin
- Why can I not deregister my style and script on custom post type?
- WordPress include scripts and style in plugin page
- plugin’s script and style enqueing not working on Thesis
- Best way to overide plugin CSS?
- Adding Additional Attributes in Script Tag for 3rd party JS
- Conditionally enqueue a widget’s script/stylesheet in HEAD (only when present on page!)
- How to load scripts/styles specific for a page
- How do I cleanly override a plugin’s CSS with a child theme?
- Why I can’t add a CSS style in this WordPress theme?
- How can I reduce the amount of files loaded/included per plugin?
- Use wp_enqueue_scripts, not wp_print_styles?
- Add CSS animation as Preloader to WordPress
- Best way to inject css into admin_head in plugins?
- Pass $this to function nested in another public function of the same class
- Add extra parameter in tag using script_loader_tag
- Adding Scripts in the Admin Area
- Custom data-id wp_enqueue_script
- Overriding a function in wordpress
- Unable to load stylesheets and scripts to plugin settings page
- Is it possible to use Snap Scrolling? [closed]
- Relative path instead of absolute for wp_enqueue_script
- Image resizing on home page (product category) [closed]
- How to enqueue a theme style-sheet to my admin settings page?
- Custom Admin CSS styles to style media uploader?
- W3 Total Cache: Load CSS asynchronously for better PageSpeed score? [closed]
- Why isn’t “background-image: url”working with Bootstrap carousel on WP?
- How to generate CSS from a shortcode within a plugin
- Custom CSS for plugin form
- How to disable CSS rule in Twentythirteen style.css?
- Theme’s default styles are overriding my plugin’s custom CSS
- Remove ALL css for a specific plugin page
- Can someone please tell me what is wrong with my plugin?
- WordPress plugin output formatting
- how to access all user dashboard on fronted page [closed]
- What would I need to write into a custom plugin in order to add a switch for a custom string of CSS to the edit page?
- Ajax Search Lite: Customize Autoscroll
- Adding Font Awesome to WP Plugin
- How can I remove the WordPress-Version (?ver=5.x) from my plugin
- Plugin Theme CSS [closed]
- How to add a dvi tag to a shortcode then change a generated text using jQuery
- Custom Plugin – CSS works, JS doesn’t
- Hide a Menu Item on Login
- Wooslider custom css
- Basics of changing plugin output
- wp_enqueue_style for plugin options page
- How can I force Dynamic CSS via ACF values to update on page load?
- How to make a dynamic css class whose name changes every visit to confuse scraper
- Moving Jetpack buttons to appear below the first H2 title on all project/post pages [closed]
- Flickering sidebar when scrolling page [closed]
- dynamic name of the style for wp_enqueue_style
- is it possible to hook every page style?
- Dequeue, Unregister, Remove Action – Not Working on Plugin
- Enqueue script: link not working in page source
- Add logo to admin menu in my plugin
- I would like to remove date display on photo preview
- Is wp_deregister_script the best way to deal with unneeded plugins in a page?
- is there a way to get all queued scripts/styles into a template without `get_header()`?
- Block wordpress style for my plugin admin page
- How to enqueue some javascript source once per page
- Button and Countdown overlapping mobile menu
- Strange admin-ajax / CSS / $_SESSION issue
- Enqueue css to a third-party plugin template
- How to add styles to a submenu page?
- inserting custom css, html and js into the current page as a popup window
- Apply only the css in my style.css file
- How get horizontal div instead vertical CSS
- SASS not showing in customized preloader plugin
- Enqueue plugin for specific pages
- Implementing Scrollable Images
- plugins_url not returning correct directory
- WordPress custom blockquote with black background & white text?
- How do I keep children of certain parent menus expanded by default on a sidebar?
- how to add custom css at top above all css file for specific url
- How to install jquery dotdotdot plugin for WordPress?
- How to add php stylesheet to admin section instead of admin_head hook
- Like/Dislike Bar not working when updating
- Possible jquery / library conflict in plugin usage
- How to activate/deactivate menu tab and keep the same id?
- How to display a sitmap horizontally? [closed]
- Content expands beyond its column container [closed]
- Can I merge all my JS and CSS in one file using WP?