Documentation Category: Hook

gpac_functions

Filter the functions list used by GP Advanced Calculations on the backend (during submission). This hook needs to be used in conjunction with the gpac_functions JavaScript hook on the frontend.

gpac_functions (JS)

DescriptionUsageParametersSinceDescription Filter the functions list used by GP Advanced Calculations on the backend (during submission). This hook must be used with the gpac_functions PHP hook …

gpb_user_agent

DescriptionUsageParametersSinceDescription Filter the user agent checked against the blocklist. Usage Filter the user agent checked against the blocklist. Filter the user agent checked against the …

gpb_ip

DescriptionUsageParametersExamplesDisable checking the user’s IP against the blocklistSinceDescription Filter the IP address checked against the blocklist. Usage Filter the IP address checked against the blocklist. …

gpb_value

DescriptionUsageParametersSinceDescription Filter the value checked against the blocklist. Usage Filter all values checked against the blocklist. Filter values in a specific form checked against the …

gpeb_filter_field_filter_choices

Filter whether to use the experimental feature to filter choices in a filter field to only those present in the filtered entries.

gspc_should_enqueue_frontend

Filter whether to enqueue Product Configurator assets on the frontend.

gpfup_meets_minimum_requirement (JS)

DescriptionUsageParametersExamplesHonor either minimum requirement instead of requiring bothSinceDescription Filter whether or not image meets minimum size requirement. Usage Parameters meetsMinimum boolean Whether or not image …

gpcc_is_overwrite (JS)

DescriptionUsageParametersSinceDescription Filter to allow overriding the overwrite setting. Usage Parameters isOverwrite bool The current overwrite setting. elem object The element that triggered the copy. field …

gpeb_entries_table_summary_columns

Filter the summary columns to be displayed in the entries table.

gpeb_selected_user_filters

Filter the selected user filters.

gpapf_post_init

DescriptionUsageParametersSinceDescription Do something after the phone field is initialized. Usage Parameters formId number The ID of the current form. fieldId number The ID of the …

gpppw_applicable_field_types

DescriptionUsageParametersSinceDescription Specify what field types are supported. Usage Parameters field_types array The field types that are supported. Default: array( ‘textarea’, ‘post_content’, ‘text’ ) Since This …

gppa_form_editor_max_string_length (JS)

DescriptionUsageParametersExamplesSet a max length of 1000.Skip max length.SinceDescription Filter the max string length used in the Form Editor. Usage Parameters maxLength int The max length …

gpasc_attach_inline_confirmation_message

DescriptionUsageParametersSinceExamplesDisplay Inline Confirmation Above the FormDescription Filter how the inline confirmation message is attached to the form. Usage Apply to all forms. Apply to a …