KWS_GF_EDD_Admin::__construct |
( |
) | |
|
Add hooks and setup licensing
KWS_GF_EDD_Admin::admin_enqueue_scripts |
( |
) | |
|
Add scripts to the admin.
KWS_GF_EDD_Admin::admin_init |
( |
) | |
|
Add hooks and license stuff
- Todo:
- Hook up the license functionality
KWS_GF_EDD_Admin::check_for_variations |
( |
) | |
|
Get the price variations for an EDD product
- Returns
- string JSON-encoded array of price variations
KWS_GF_EDD_Admin::editor_script |
( |
) | |
|
Output binding JS for when GF fields are shown in admin
KWS_GF_EDD_Admin::enable_gform_logging |
( |
|
$supported_plugins = array() ) | |
|
Add this plugin to GF logging
- Parameters
-
array | $logging_supported | Existing integrations using GF logging |
- Returns
- array Modified list, including this plugin
KWS_GF_EDD_Admin::gf_tooltips |
( |
|
$tooltips) | |
|
Add a variations tooltip
- Parameters
-
array | $tooltips | Original tooltips array |
- Returns
- array Modified array
KWS_GF_EDD_Admin::gravity_forms_required |
( |
) | |
|
Print an admin notice that Gravity Forms is necessary for this plugin.
KWS_GF_EDD_Admin::options_field |
( |
|
$position, |
|
|
|
$form_id |
|
) |
| |
Output field HTML for GF "Product Options" variations
- Parameters
-
int | $position | Current position on GF field |
int | $form_id | The current GF form ID |
KWS_GF_EDD_Admin::product_field |
( |
|
$position, |
|
|
|
$form_id |
|
) |
| |
Add a "Connect to EDD Download" select box to GF product fields
- Parameters
-
int | $position | Current position on GF field |
int | $form_id | The current GF form ID |
KWS_GF_EDD_Admin::register_no_conflict |
( |
|
$registered) | |
|
Allow EDD GF scripts to be shown with Gravity Forms No-Conflict Mode
- Since
- 1.0.4
- Parameters
-
array | $registered | Allowed scripts or styles for GF |
- Returns
- array Allowed scripts or styles for GF, with EDDGF added
KWS_GF_EDD_Admin::results_per_page |
( |
|
$per_page) | |
|
Modify the number of results fetched by EDD
This allows all downloads to be shown in the dropdown. Hopefully, not a ton, otherwise it'll get heavy!
- Parameters
-
int | $per_page | Previous results per page setting |
- Returns
- int New results per page setting. If you have this many, you're in trouble.
The documentation for this class was generated from the following file: