[memb_credits_history]

Description

Outputs an HTML table (<table class="torii-credits-history">) of the user's most recent credit transactions, date, description, amount (signed, color-coded), and resulting balance.

When there are no transactions, a friendly "No transactions found." paragraph is shown instead.

Renders nothing when there is no valid user (logged out).

Shortcode Examples

[memb_credits_history]

Last 25 transactions for a specific user:

[memb_credits_history user_id="123" limit="25"]

Shortcode Parameters

user_id

User ID whose history is displayed. Default: current user ID.

limit

Maximum number of transactions to show, clamped to 1 to 100. Default: 10.

Shortcode Attributes

Attribute Value
Conditional No
Nestable No
Accepts formatting No