PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Custom Merge Tag Code Issue

  1. I want to show balance info by a custom merge tag. Let me show my code first:

    global $current_user;
    get_currentuserinfo();
    $id = $current_user->ID;
    $balance = balance($id);

    I need to display $balance value into forms (actually in a HTML block) via merge tag.

    How the merge tag code should be?

    NOTE: I know how to autopopulate fields by a function but as I'll use html block, I need merge tag.

    Posted 6 years ago on Friday June 7, 2013 | Permalink