|

New IgnitionDeck API Items in 1.02

The IgnitionDeck API is updated with every new release. Here are a list of items added in IgnitionDeck 1.02.

Complete IgnitionDeck API Listing

Actions

  • id_after_install: Fires after IgnitionDeck is activated upon end of activation script.
  • id_set_defaults: Fires after IgnitionDeck defaults are set upon end of script.

Filters

  • id_pay_choices($pay_choices, $project_id): Append or remove pay choice buttons on purchase form.

Javascript Variables & Actions

  • id_ajaxurl: Represents the WordPress Ajax url. This variable is available globally on both the front-end and administration sections.
  • id_siteurl: Represents your site’s URL. This variable is available globally on both the front-end and administration sections.
  • data-currency: Available on the purchase form, form id ‘form-pay’ and stores the default currency code value (USD, EUR, etc). Helpful when developing gateways requiring on the fly translation.
  • data-postid: Available on the purchase form, form id ‘form-pay’ and stores the current post ID.
  • data-projectid: Available on the purchase form, form id ‘form-pay’ and stores the current project ID.
  • data-projectType Available on the purchase form, form id ‘form-pay’ and stores the project type (level-based, pwyw).
  • trigger(‘levelChange’): This jQuery trigger fires every time a new level is selected in the level dropdown. Returns new price.
  • trigger(‘validate’): This jQuery trigger fires after the purchase button is clicked and form is validated. Returns true if true, false if false.

Get Started With IgnitionDeck Today

Start your next Crowdfunding Project on the right foot with WordPress’s most loved and longest-running White-Label Crowdfunding Platform

Similar Posts