mycred_load_coupon

Codex / mycred/coupon / Shortcodes / mycred_load_coupon

Description

This shortcode allows your users to redeem coupons you created using the Coupons add-on.

Requires the Coupons add-on to be enabled.

Available since version 1.5

Shortcode Attributes

Attribute Type Required Default Description
label string No Coupon The coupon label. Can not be empty.
button string No Apply Coupon The form submit buttons label.
placeholder string No - The placeholder label for the coupon field.

CSS Styling

div.mycred-coupon-form { }

Example

Example 1: Default usage.

[mycred_load_coupon]

Last edited June 23, 2016