I want to add/change the CSS of my current theme from my plugin.
I've tried add_action
and wp_enqueue_style
and doesn't work
My code:
function register_plugin_styles() {
wp_enqueue_style( 'fh-plugin' , plugins_url( 'nf-plugin/includes/f-hide.css' ));
}
add_action( 'wp_enqueue_scripts', 'register_plugin_styles' );