mycred_lottery_jackpot

Codex / mycred/game / Shortcodes / mycred_lottery_jackpot

Description

This shortcode will show the given lotteries current jackpot.

Requires the Lottery add-on to be installed and enabled.

Available since version 1.1

Shortcode Attributes

Attribute Type Required Default Description
id int Yes - The lottery ID to show.
format int No 1 Option to show the jackpot formatted (1) or show it in plain format (0).

CSS Styling

This shortcode does not return any stylable elements.

Example

Example 1: Default usage.

[mycred_lottery_jackpot id=123]

Last edited June 23, 2016