Documentation Category: Hook

gpcld_require_date_selection

DescriptionUsageParametersSinceDescription Filter whether a date must be selected for the conditional logic rule to be evaluated. Usage Parameters is_date_selection_required bool Is a date required to …

gprf_disable_dynamic_reload

Disable regenerating the form markup after each submission. Instead, reload the form by using the form HTML that’s saved during the initial load.

gplc_remove_choices

DescriptionUsageParametersSinceDescription Filter whether choices should be removed. Usage Apply to all forms and fields. Apply to all fields of a specific form. Apply to a …

gplc_disable_choices

DescriptionUsageParametersSinceDescription Filter whether choices should be disabled. Usage Apply to all forms and fields. Apply to all fields of a specific form. Apply to a …

gpcb_validate_user_agent

DescriptionUsageExamplesEnable User-Agent CheckingSinceDescription Check the visitor’s user-agent against blacklisted keywords. Usage Enable user-agent processing site-wide. Enable user-agent processing in a given form. Examples Enable User-Agent …

gppa_object_merge_tag_replacement_value

DescriptionUsageParametersExamplesConvert arrays to a comma separated listSinceDescription Modify the results of merge tag value before it’s returned to the calling function. Usage Parameters replace mixed …

gpnf_session_initialized

DescriptionUsageParametersSinceDescription Do something after the Nested Forms session has been initialized. Usage Parameters gpnf \GPNestedForms Current instance of the GPNestedForms class. Since This action is …

gppa_loading_field_target_meta

DescriptionUsageParametersExampleReplace field with spinner instead of pulsing.SinceDescription Specify which element is used to indicate that a field is about to be replaced with fresh data …

gpld_invalid_date_error

DescriptionUsageParametersExampleSinceDescription Change the invalid date error message that’s shown beside date pickers when using GP Limit Dates Usage Parameters message string Invalid date error message …

gpcp_after_update_pricing

DescriptionUsageParametersExamplesShow the original price crossed out next to the adjusted price.SinceDescription Do something after product prices have been updated. Usage Parameters triggerFieldId int The ID …

gpml_supported_field_types

DescriptionUsageParametersExamplesSinceDescription Filter the supported field types by GP Media Library. Important note! Adding fields with this filter does not guarantee compatibility. GP Media Library expects …

gpnf_submitted_nested_entries

Filter nested form submitted child entries.

gpui_unique_id

DescriptionUsageParametersExamplesReset Genereated ID when it reaches a numberSinceDescription Allows you to modify the generated Unique ID using a custom function. Usage Parameters unique string or …

gpwc_word_count

DescriptionUsageParametersExamplesSinceDescription Filter the word count calculation by GP Word Count. Usage Filter word count for all fields using GP Word Count. Filter word count for …

gplp_preview_template

DescriptionUsageParametersExamplesSet Custom Preview Template PathSinceDescription Filter the template used to render the Live Preview. Usage Parameters template string The absolute path to the desired template …