webimpian
5/29/2018 - 1:49 AM

Add point balance at My Account page

<?php
	/**
	* Add Points Balance
	*/
	
	add_action( 'woocommerce_account_dashboard', 'woo_add_point_balance_my_account' );
	function woo_add_point_balance_my_account() {
		
		echo '<hr>';
		echo '<h3>Points Balance</h3>';
		echo do_shortcode('[mycred_my_balance wrapper=0 title_el="" balance_el=""]');
	}