The post meta keys Coupon Creator Pro stores on each cctor_coupon, for use with get_post_meta() in custom templates and snippets.
Every field is saved against the coupon post with the cctor_ prefix. All values below are grep-verified against Pro 3.6.0. Read a value with get_post_meta( $coupon_id, '<key>', true ).
Style — borders and background #
| Meta key | Stores |
|---|---|
cctor_coupon_border_themes |
Outer border style (coupon-border, stitched-border, dotted-border, sawtooth-border, none-border) |
cctor_outer_border_color |
Outer border color |
cctor_outer_radius |
Outer border radius (px) |
cctor_inside_radius |
Inner border radius (px) |
cctor_bordercolor |
Inner border color |
cctor_bg_color |
Coupon background color |
cctor_bg_image |
Background image (attachment ID) |
cctor_bg_position |
Background image position |
cctor_bg_repeat |
Background image repeat |
cctor_bg_size |
Background image size |
cctor_coupon_terms_text_color |
Terms text color |
Content #
| Meta key | Stores |
|---|---|
cctor_deal_display |
Where the deal shows (both, hook, print, none) |
cctor_description |
Terms / body content |
cctor_print_only |
Print-only content (see Pro CSS Reference) |
cctor_outer_radius (image) |
On image coupons, the outer radius is also applied to the image element |
Expiration and counter #
| Meta key | Stores |
|---|---|
cctor_expiration_option |
Expiration method |
cctor_expiration |
Fixed expiration date |
cctor_recurring_expiration |
Recurring pattern |
cctor_recurring_expiration_limit |
Recurring end limit (see Filter the Recurring Limit) |
cctor_x_days_expiration |
"X days" expiration period |
cctor_counter_activate |
Counter mode (deactivate-counter, activate-counter, unlimited-counter) |
cctor_coupon_views |
Current view count |
cctor_coupon_views_limit |
Views limit before the coupon stops showing |
cctor_counter_show |
Show counter on print/single view (counter-show / counter-hide) |
cctor_save_change_views |
Whether manual edits to the view count are saved |
See Customizing the Counter for display options.
Links and print view #
| Meta key | Stores |
|---|---|
cctor_custom_print_view_link |
Overrides the "Click to Open in Print View" URL |
cctor_custom_print_view_link_text |
Overrides the "Click to Open in Print View" text |
cctor_custom_print_link |
Overrides the "Click to Print" URL |
cctor_custom_print_link_text |
Overrides the "Click to Print" text |
cctor_open_popup_iframe |
Open the print view in a Colorbox popup (1) |
cctor_disable_print_view |
Redirect the print view away (1) |
cctor_hide_print_view_link |
Hide the "Click to Open in Print View" link under the coupon (1) — see Remove Print View Links |
cctor_reveal |
Reveal-code button state (reveal_deactivate when off) |