Archived topic
wp_dequeue_style( 'generate-child' ) not working anymore ?
1 reply · Started by Fabien on October 28, 2022
Viewing posts 1–2 of 2
Hi,
It seems that with the latest update, the following function isn't working anymore :
add_action( 'wp_enqueue_scripts', function() {
wp_dequeue_style( 'generate-child' );
});
Is their a fix please ?
Hi there,
try increasing the priority:
add_action( 'wp_enqueue_scripts', function() {
wp_dequeue_style( 'generate-child' );
},999);
This archived topic is closed to new replies.