Documentation Category: Hook

gppa_process_template_cache_key

Modify cache key for template processing as required. In some cases, it can be advantageous to relax the cache key to improve performance.

gpnf_disable_new_cancel_confirmation (JS)

DescriptionUsageExampleDisable the confirmation promptSinceDescription Filter if GPNF should not warn before canceling adding a new entry. Return “true” here to disable the “Are you sure?” …

gpls_limit_message

Filter the message that shows if the submission limit for a form has been reached.

gppa_should_get_term_by_id

Filter whether terms should be looked up by ID when filtering posts by taxonomy. This is useful when filtering taxonomies with numeric slugs by a numeric value (i.e. zip codes). By default, Populate Anything will assume numeric values are term IDs and search by ID with the given value. Use this to indicate that your numeric values are slugs and not IDs.

gwaft_modifier_value

DescriptionUsageParametersExamplesExclude Fields with Personal InformationDescription Filter an individual value specified for the given modifier. The primary intent is to provide a mechanism for specifying a …

gppa_hydrated_field

Filter the field object after it has been hydrated.

gpcp_price (JS)

DescriptionUsageParametersDescription Filter the price about to be set for the given product. This filter runs both when the Conditional Pricing is setting the product to …

gpcp_price (PHP)

DescriptionUsageParametersDescription Filter the matched pricing level’s price before it is compared to the submitted price. This filter must be used with its JS counterpart to …

gpnf_set_parent_entry_id

Filter parent entry ID

gpcc_custom_clear (JS)

DescriptionUsageParametersSinceDescription Handle clearing copied values manually. Usage Parameters clearMode bool Set to true to instruct GPCC to leave clearing functionality to filter. id string HTML …

gpcc_custom_copy (JS)

DescriptionUsageParametersSinceDescription Handle copying fields manually. Usage Parameters copyMode bool Set to true to instruct GPCC to leave copying functionality to filter. id string HTML Element …

gpnf_fetch_form_html_on_load (JS)

DescriptionUsageParametersExamplesDisable Automatically Loading Child Form HTMLSinceDescription JavaScript filter to modify the behavior of automatically loading Nested Form markup when the parent form is loaded. If …

gppa_no_results_value

Modify the value of an input when no object results have been found. Note, the field’s Default Value will be used if field dependencies have not been filled in.

gppa_has_empty_field_value

Modify the value of an input when its value is being populated dynamically and there is a field dependency that is not filled in. This will take priority over the field’s Default Value.

gpnf_should_use_static_value

Filter whether the current Nested Form field’s value should be fetched dynamically from the database or left as is.