Description
This shortcode shows a table with the remaining scratch cards in a set.
Shortcode Attributes
Attribute | Type | Required | Default | Description |
---|---|---|---|---|
set |
int | Yes | - | The Card Set ID to run in this shortcode. |
CSS Styling
.scratch-card-setup-table { } th.mycred-scratch-card-value { } th.mycred-scratch-card-remaining { }
Example
Example 1: Show remaining cards in the set that has the ID 123.
[mycred_scratch_cards_remaining set=123]