Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function rimozione_script_style() {
- if ( is_front_page() ) {
- wp_dequeue_style( 'style_da_rimuovere');
- wp_dequeue_script( 'script_da_rimuovere' );
- }
- }
- add_action( 'wp_enqueue_scripts', 'rimozione_script_style', 99 );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement