⚡️Cyber Monday Flash Sale 70% Off:
H :
M :
S
⚡️
  1. Home
  2. Knowledge Base
  3. Customizations
  4. PHP Functions
  5. How to Dequeue Unnecessary Scripts and Styles

How to Dequeue Unnecessary Scripts and Styles

For dequeuing and enqueuing scripts/styling on login, you can follow this syntax.

Please make sure that the ID is similar to your declaration. If you’re unable to find it, kindly reach out to the plugin author for assistance.

function tirarScripts() { wp_dequeue_style( 'slate-js' ); } add_action( 'login_enqueue_scripts', 'tirarScripts' );
Was this article helpful?

Related Articles

Subscribe to Our Newsletter

Stay In Touch

Subscribe to our Newsletter, and we’ll send you the latest news from BuddyBoss

  • This field is hidden when viewing the form
  • This field is for validation purposes and should be left unchanged.

To speak to our Agency consultant, fill in the form found at our Contact Page.

  • Get Started

    Enter your name and email address to get started with your project...

  • This field is for validation purposes and should be left unchanged.