[buddypress-trac] [BuddyPress] #4961: Overriding CSS in plugin doesn't seem to work
buddypress-trac
noreply at wordpress.org
Sun Apr 28 17:42:01 UTC 2013
#4961: Overriding CSS in plugin doesn't seem to work
-------------------------+-----------------------------
Reporter: karmatosed | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
I'm working on a plugin to replace the legacy css with it's own. My first
plan for this was to remove_action on the following:
{{{
add_action( 'bp_enqueue_scripts', array( $this, 'enqueue_styles' ) ); //
Enqueue theme CSS
}}}
I think having this ability would make sense.
In an attempt to get something working, I looked at wp_dequeue_style but
that's not taking due probably to order I assume.
If there is a way and I'm missing that it's something I hope to add to the
codex once know. If it's not working in the obvious way I think others
could benefit from this documented. Personally, I think the obvious way
would be to remove_action then add_action back.
Whilst, you can of course override using a theme having the similar ease
in a plugin for just the CSS could be great.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4961>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list