Yup – that’s where I copied from. Code Spippet is active. Below is what I have running:
add_action( 'wp_enqueue_scripts', 'generate_dequeue_secondary_nav_mobile', 999 );
function generate_dequeue_secondary_nav_mobile() {
wp_dequeue_style( 'generate-secondary-nav-mobile' );
}
I have no idea why it’s not working. Driving me nuts.