Skip Navigation

[Resolved] Dequeue and deregister toolset-maps-views-filter-distance-frontend-css-css

This support ticket is created 6 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by Nicholas 6 years, 4 months ago.

Author
Posts
#1108498

Hello for some reason I can't deregister

<link rel='stylesheet' id='toolset-maps-views-filter-distance-frontend-css-css' href='/wp-content/plugins/toolset-maps/resources/css/views_filter_distance_frontend.css?ver=1.4.2' type='text/css' media='all' />

I tried
function remove_scripts() {
wp_dequeue_style( 'f'toolset-maps-views-filter-distance-frontend-css');
wp_deregister_style( ''toolset-maps-views-filter-distance-frontend-css' );

}
add_action( 'wp_enqueue_scripts', 'remove_scripts', 20 );

But it's not working for me.

#1108512

I figured it out.