• Resolved ibrar505

    (@ibrar505)


    I would like to remove frontend styling and used the following but it is not somehow removing it. can you tell me if the id is right or doing something wrong here

    add_action( 'wp_enqueue_scripts', 'remove_default_stylesheet', 20 );
    function remove_default_stylesheet() {
    
    wp_dequeue_style( 'awwlm-frontend-css' );
    wp_deregister_style( 'awwlm-frontend-css' );
    
    }
Viewing 1 replies (of 1 total)
  • Plugin Support Sanesh Acowebs

    (@saneshacodez)

    You can use the following to remove frontend CSS file from our plugin:

    add_action( 'wp_enqueue_scripts', 'remove_default_stylesheet', 20 );
    function remove_default_stylesheet() {
    
    wp_dequeue_style( 'awwlm-frontend' );
    
    }
Viewing 1 replies (of 1 total)
  • The topic ‘dequeue Plugin frontend style’ is closed to new replies.