verygoodplugins

Untitled

Sep 18th, 2020
741
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_filter( 'wpf_disable_tag_multiselect', function( $disable ) {
  2.  
  3.     if ( is_customize_preview() ) {
  4.         return true;
  5.     }
  6.  
  7.     global $current_screen;
  8.  
  9.     if ( $current_screen->id == 'widgets' ) {
  10.         return true;
  11.     }
  12.  
  13.     return $disable;
  14.  
  15. } );
RAW Paste Data