I had built a functionality plugin and hooked with actions to another plugin. I had also made a style.css in myplugin/stylesheets/ directory. I placed the code there. I would like to make the styling dependent on my plugin and not my theme.
So far I have been trying this:
function epf_override_style() {
wp_register_style( 'epf-style', '/stylesheets/style.css' ); //Subdir in plugin directory.
wp_enqueue_style( 'epf-style' );
}
add_action( 'es_extra_bottom_info','epf_override_style' );
How can I use the stlye.css of my plugin instead of the theme's (child theme's) style.css?