Advertisement
designbymerovingi

scratch card template example

Jan 30th, 2016
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. 'fireworks' => array(
  2. 'label' => __( 'Fireworks', 'mycred' ),
  3. 'minimum_scratch' => 75,
  4. 'brush_diameter' => 15,
  5. 'card_width' => 300,
  6. 'card_height' => 400,
  7. 'coin_image' => '', // optional
  8. 'cover_image' => plugins_url( 'assets/images/templates/fireworks/fireworks-cover.png', MYCRED_SCRATCH ),
  9. 'buy_log' => '', // optional
  10. 'win_log' => '', // optional
  11. 'win_message' => '', // optional
  12. 'setup' => array(
  13. array(
  14. 'number' => 100,
  15. 'value' => 0,
  16. 'attachment_ids' => array(
  17. plugins_url( 'assets/images/templates/fireworks/fireworks-nowin.png', MYCRED_SCRATCH )
  18. )
  19. ),
  20. array(
  21. 'number' => 10,
  22. 'value' => 10,
  23. 'attachment_ids' => array(
  24. plugins_url( 'assets/images/templates/fireworks/fireworks-win.png', MYCRED_SCRATCH )
  25. )
  26. )
  27. )
  28. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement