Shortcodes

Wallet & Finances

  • [vtupress get=”balance”] – Returns the user’s current main wallet balance (e.g. 5000).
  • [vtupress get=”commission”] – Returns the user’s referral commission balance.
  • [vtupress get=”referral_commission”] – Returns the direct referral commission earned.
  • [vtupress get=”indirect_referral_commission”] – Returns the indirect referral commission earned.
  • [vtupress get=”other_referral_commission”] – Returns third-level referral commission earned.
  • [vtupress get=”pv”] – Returns the user’s Point Value (PV).

User Information

  • [vtupress get=”first_name”] – Returns the user’s first name.
  • [vtupress get=”last_name”] – Returns the user’s last name.
  • [vtupress get=”phone”] – Returns the user’s phone number.
  • [vtupress get=”bvn”] – Returns the user’s BVN (if submitted/synced).
  • [vtupress get=”nin”] – Returns the user’s NIN (if submitted/synced).

Account & Status details

  • [vtupress get=”plan”] – Returns the user’s current VTUPress level/plan (e.g., customer, reseller).
  • [vtupress get=”plan_end_date”] – Returns the expiry date of the user’s current plan (if it’s a recurring plan).
  • [vtupress get=”apikey”] – Returns the user’s unique VTUPress API Key.
  • [vtupress get=”pin”] – Returns the user’s transaction PIN (usually a 4-digit number like 1234).
  • [vtupress get=”kyc_status”] – Returns the KYC status (e.g., approved, pending, not_submitted).
  • [vtupress get=”email_verified”] – Returns whether the user’s email is verified (yes or no).
  • [vtupress get=”access_status”] – Returns the user’s access state (e.g., allowed).
  • [vtupress get=”referrer_id”] – Returns the ID of the user who referred this person.

System/Database IDs

  • [vtupress get=”id”] – Returns the user’s ID inside the custom VTUPress table.
  • [vtupress get=”userid”] – Returns the user’s primary WordPress ID.

NEWLY ADDED — Vtupress 2.0.9
Service Shortcodes : To Display The Services on any page without accessing the dashboard itself

  • [vtupress service=”service_id”] e.g [vtupress service=”airtime”] , [vtupres service=”data”], [vtupress service=”cable”] e.t.c

Was this page helpful?