Skip to content

Instantly share code, notes, and snippets.

@akther80
Created July 2, 2019 05:23
Show Gist options
  • Save akther80/7c895886967533feb7e865031630a5a7 to your computer and use it in GitHub Desktop.
Save akther80/7c895886967533feb7e865031630a5a7 to your computer and use it in GitHub Desktop.
Electro v2 - Disable Wishlist and Compare in header
add_action( 'init', 'ec_child_remove_header_icons' );
function ec_child_remove_header_icons() {
remove_action( 'electro_header_icons', 'electro_compare_header_icon', 70 );
remove_action( 'electro_header_icons', 'electro_wishlist_header_icon', 80 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment