Documentation Category: Hook

gpnf_should_open_modal

DescriptionUsageParametersSinceExamplesDo not open a modal if a given field is empty.Description Filter whether the nested form modal should open or not. Note: this snippet should …

gpls_should_enforce_on_render

DescriptionUsageParametersSinceDescription Filter whether Limit Submissions should be enforced on render. By default, only field-based rules are exempted from being enforced on render as the user …

gppa_where_clause

DescriptionUsageParametersSinceDescription Modify the where clause generated by Populate Anything’s field settings. Usage Parameters where_clause string The custom where clause. Defaults to an empty string. object_type …

gppt_is_enabled

DescriptionUsageParametersSinceDescription Filter whether page transitions is enabled for a form or not. Useful for other plugins to disable page transitions if AJAX forms are not …

gpaa_marker_set (JS)

DescriptionUsageParametersSinceExamplesAdd an Info Window to the MarkerAdd a circle to the MarkerDescription Action fired after a marker has been placed on a map field. It …

gpeb_edit_confirmation

DescriptionUsageParametersSinceExamplesRedirect on editDescription Filter the confirmation shown when editing an entry. Useful for changing behavior to a redirect or programmatically changing the message. Usage Filter …

gpqr_params_pre_generate

DescriptionUsageParametersSinceExamplesQR Code Error CorrectionGenerate QR codes as SVG instead of PNGDescription Filter the params used when generating a code. Usage Parameters params array Params used …

gpqr_content_pre_generate

DescriptionUsageParametersSinceDescription Filter the content of a code before its generated. Useful for encoding/decoding entities, etc. Usage Parameters content string Content being used to generate the …

gpls_calendar_periods

DescriptionUsageParametersSinceExamplesCustom Monthly PeriodDescription Filter the available calendar periods available to Limit Submissions. Useful for adding custom periods such as periods starting on a specific day …

gpfr_merge_tag_forward_slash_replace_char

DescriptionUsageParametersSinceDescription Filter the character(s) used to replace forward slashes (“/”) in merge tag values. Defaults to “_”. Usage Parameters replace_char string Character(s) used to replace …

gpfr_replace_merge_tag_forward_slashes

DescriptionUsageParametersSinceDescription Filter whether or not forward slashes (“/”) are replaced in merge tag values. Defaults to “true” (e.g. forward slashes are replaced). Usage Parameters should_replace_forward_slashes …

gpaa_marker_set (JS)

DescriptionUsageParametersSinceExamplesAdd an Info Window to the MarkerDescription Action fired after a marker has been placed on a map field. It allows you to programmatically make …

gpnf_calc_entries (JS)

DescriptionUsageParametersSinceDescription Filter the child entries used for Nested Forms’ calculation merge tag modifiers such as :count, :sum, and more. This is useful for conditionally including/excluding …

gpnf_calc_replacement_value (JS)

DescriptionUsageParametersSinceDescription Filter the replacement values for Nested Forms calculation merge tag modifiers such as :sum. When using this filter, it’s also recommended to utilize the …

gpnf_calc_entries

DescriptionUsageParametersSinceDescription Filter the child entries used for Nested Forms’ calculation merge tag modifiers such as :count, :sum, and more. This is useful for conditionally including/excluding …