SHARE
TWEET

Untitled

a guest Oct 13th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_filter( 'electro_departments_menu_v2_enable_dropdown', 'ec_child_enable_dropdown_in_home', 20 );
  2.  
  3. function ec_child_enable_dropdown_in_home( $enable ) {
  4.     if ( is_front_page() ) {
  5.         $enable = false;
  6.     }
  7.  
  8.     return $enable;
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top