Skip to content

Instantly share code, notes, and snippets.

@akther80
Created October 3, 2018 05:47
Show Gist options
  • Save akther80/650f2bd4dfb3aec58bc8bc029e5a1a6e to your computer and use it in GitHub Desktop.
Save akther80/650f2bd4dfb3aec58bc8bc029e5a1a6e to your computer and use it in GitHub Desktop.
Remove Shop by Department form Home v2
add_action( 'init', 'ec_child_modify_parent_hooks' );
function ec_child_modify_parent_hooks() {
remove_action( 'electro_navbar_v2', 'electro_departments_menu_v2', 10 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment