Created
May 2, 2018 12:54
-
-
Save ibndawood/ae45c073525399a2264b401daef1aaeb to your computer and use it in GitHub Desktop.
Electro v2 - Change wishlist and compare icon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'electro_compare_icon', 'ec_child_change_compare_icon', 20 ); | |
function ec_child_change_compare_icon( $compare_icon ) { | |
$compare_icon = 'fas fa-columns'; | |
return $compare_icon; | |
} | |
add_filter( 'electro_wishlist_icon', 'ec_child_change_wishlist_icon', 20 ); | |
function ec_child_change_wishlist_icon( $wishlist_icon ) { | |
$wishlist_icon = 'fas fa-heart'; | |
return $wishlist_icon; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment