Aurangajeb

Remove Dokan Font Awesome CSS from site

Sep 19th, 2021
782
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. @ Deregister Styles - Remove Dokan Font Awesome CSS from site
  3. @ Use this code on your theme or child-theme's functions.php file below
  4. */
  5.  
  6. function dequeue_dokan_fontawesome_stylesheet(){
  7.     wp_deregister_style( 'dokan-fontawesome' ); //Name of Style ID wihtout css.
  8. }
  9. add_action( 'wp_enqueue_scripts', 'dequeue_dokan_fontawesome_stylesheet', 999 );
  10.  
  11.  
RAW Paste Data