Proper way to dequeue jetpack social menu style
-
Hi,
I am wondering what is the proper way to dequeue jetpack social menu style (https://github.com/Automattic/jetpack/blob/master/modules/theme-tools/social-menu.php#L84) ?
I am currently using this code:
function slug_remove_jetpack_social_menu_style() { remove_action( 'wp_enqueue_scripts', 'jetpack_social_menu_style' ); } add_action( 'after_setup_theme', 'slug_remove_jetpack_social_menu_style', 99 );
When I view the site, I can still see styles for the menu in a jetpack.css file.
Thanks,
Taras
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Proper way to dequeue jetpack social menu style’ is closed to new replies.