This topic has 2 replies, 3 voices, and was last updated 5 years by Radu.

  • Author
  • #203308
     atapx
    Participant

    I  need to remove all of your script and css in my plugin page.. how to remove it?

    I dont know all of your register script and css

     

    I try this code, but not working

     

    function remove_script_admin(){

    if($_GET[‘page’] ==’myplugin’){

    wp_deregister_script( ‘CMB2_JS’ );

    print_r($_GET[‘page’]);

    }

    }

    add_action( ‘admin_footer’, ‘remove_script_admin’ );

     

    #203392
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #203486
     Radu
    Moderator

    Hi,

    Here’s our registered things

    de-register exacly what you need

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?