Add social icons to your WooCommerce emails.
Add social icons to your WooCommerce emails.
Go to WooCoomerce > Settings > Emails to configure the plugin.
Github: https://github.com/luizbills/social-icons-for-woocommerce-emails
/wp-content/plugins/social-icons-for-wc-emails
directory, or install the plugin through the WordPress plugins screen directly.Yes. Use the filter hook siwce_social_links
.
Example:
// add this to your functions.php add_filter( 'siwce_social_links', '__add_vk_wc_emails' ); function __add_vk_wc_emails( $icons ) { $icons['vk'] = 'VK'; return $icons; }
Use the filter hook siwce_icon_image_uri
.
Example:
// add this to your functions.php add_filter( 'siwce_icon_image_uri', 'yourprefix_change_facebook_icon', 10, 2 ); function yourprefix_change_facebook_icon( $uri, $icon_id ) { if ( $icon_id == 'facebook' ) { $uri = get_stylesheet_directory_uri() . '/path/to/your/facebook_icon.png'; } return $uri; }