Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Tagged: icon
Help Please
1. How to change/remove wowalet icon in sidebar “My account” ?
2. How to change/remove wowalet icon “My account/console” ?
You can use CSS Class woo-wallet-icon-wallet
and change the icon content.
Hi I’m looking for the same thing however where do I edit this code I’m looking to remove the icon from the My account page of woocommerce thanks
use this and use [woo-mini-wallet] as a shortcode to show balance without an icon.
function woo_mini_wallet_callback() {
if (!function_exists(‘woo_wallet’) || !is_user_logged_in()) {
return ”;
}
ob_start();
$title = __(‘Current wallet balance’, ‘woo-wallet’);
$mini_wallet = ‘‘;
$mini_wallet .= woo_wallet()->wallet->get_wallet_balance(get_current_user_id());
$mini_wallet .= ‘‘;
echo $mini_wallet;
return ob_get_clean();
}
add_shortcode(‘woo-mini-wallet’, ‘woo_mini_wallet_callback’);