Deregister Scripts and Styles

Put this code to functions.php

function deregister_styles(){
	wp_dequeue_style( 'oxygen-aos' );
	wp_deregister_style( 'oxygen-aos' );
}
add_action( 'wp_print_styles' , 'deregister_styles' );
function deregister_scripts(){
	wp_dequeue_script( 'oxygen-aos' );
	wp_deregister_script( 'oxygen-aos' );
}
add_action( 'wp_print_scripts' , 'deregister_scripts' );

The easiest way to find all registered scripts and styles is with the plugin MinQueue.

If you want to deregister with plugin use Asset Queue Manager

// newsletter

Three tested WordPress snippets a week

Blocks, security, performance, Tailwind, PHP and React. Copy, paste, ship. You’ll also get DPlugins product updates. No spam, and you can unsubscribe anytime.

// newsletter

Three tested WordPress snippets a week

Blocks, security, performance, Tailwind, PHP and React. Copy, paste, ship. You'll also get DPlugins product updates. No spam, and you can unsubscribe anytime.

Click to Copy