Skip to content

Instantly share code, notes, and snippets.

@akther80
Created November 9, 2018 06:00
Show Gist options
  • Save akther80/9e14ed667c080a1c9fd651b20ecffa2f to your computer and use it in GitHub Desktop.
Save akther80/9e14ed667c080a1c9fd651b20ecffa2f to your computer and use it in GitHub Desktop.
Electro v2 - Remove compare icon
add_action( 'init', 'ec_child_remove_compare_button_in_loop' );
function ec_child_remove_compare_button_in_loop() {
remove_action( 'electro_loop_action_buttons', 'electro_add_to_compare_link', 20 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment