Documentation Category: Hook

gpnf_duplicate_entry

Filter the child entry that will be duplicated.

gpnf_enable_duplication

Enable the “Duplicate” action for child entries.

gppa_should_force_use_field_value

Determine whether or not a passed field value is used rather than the dynamically populated value. This can be useful for preferring dynamically populated values over values already set in an entry.

gpi_property_map_values

Filter to modify the values that are used for scopes when querying the inventory.

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

Filter the registered scripts for File Upload Pro.

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

Modify whether to prefer existing dynamic population over values that are populated using Easy Passthrough.

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 …