Documentation Category: Hook

gppa_gf_entry_reformat_date_fields

Filter if GPPA should re-format entries’ date fields to the format specified in the form they belong to. Up until 1.0.14 GPPA returned date fields’ values in MySQL format (YYYY-MM-DD). Starting from 1.1.3, date fields’ values will be returned in the form’s format (e.g. mm/dd/yyyy). This filter allows users to revert to the old behavior.

gpml_supported_acf_field_types

Filter which Advanced Custom Fields field types are supported by GP Media Library.

gppa_is_supported_field (JS)

DescriptionUsageParametersSinceDescription Specify what fields can be populated by Populate Anything. This filter runs in the Form Editor and determines which fields the Populate Anything field …

gpi_choice_inventory_limit

Filter the inventory limit for choices.

gpfup_scripts

DescriptionUsageParametersExamplesDeregister Vue as a dependencySinceDescription Filter the registered scripts for File Upload Pro. Usage Parameters scripts array The registered scripts. Examples Deregister Vue as a …

gpal_should_remember

DescriptionUsageParametersSinceDescription Filter whether the auto-login should be remembered. A remembered login will keep the user logged in longer. Usage Parameters should_remember bool Whether the login …

gppa_query_cache_hash

Filter GPPA’s query cache hash. Warning: This modifies how GPPA hashes queries for all types. Incorrect hashing may result in GPPA returning incorrect or stale results. Return null to disable query caching.

gpep_field_map_limit

DescriptionUsageParametersSinceDescription Filter the the maximum number of fields displayed in the settings page for GP Easy Passthrough. Usage Apply to all forms. Apply to a …

gpep_prefer_dynamic_population

DescriptionUsageParametersSinceDescription Modify whether to prefer existing dynamic population over values that are populated using Easy Passthrough. Usage Apply to all applicable fields on all forms. …

gpi_field_refreshed (JS)

DescriptionUsageParametersExampleMove inventory available message into HTML field after field is refreshedSinceDescription Action fired after a field with inventory dependent on a property is refreshed. Usage …

gpnf_init_nested_form

DescriptionUsageParametersSinceExamplesPopulate the Parent Form IDDescription Do something immediately before the nested form modal is initialized. Usage Parameters nestedFormId int The ID of the nested form …

gpi_claimed_inventory

Filter the amount of inventory that has been claimed.

gpi_is_in_stock

Filter whether the current field is in stock.

gpi_requested_quantity

Filter the requested inventory amount.

gpep_disable_same_form_passthrough

DescriptionUsageParametersExamplesDisable Passing Through Entries Without a TokenSinceDescription Filter whether GPEP should disable passing through an entry if the source and target forms are the same. …