Documentation Category: Hook

gpaa_values (JS)

DescriptionUsageParametersSinceDescription Filter the formatted values after a place has been selected. Use this to change the format of individual values such as Address 1, City, …

gpaa_init_args

Filter the args to initialize Address Autocomplete on the frontend.

gpaa_init (JS)

DescriptionUsageParametersSinceDescription Action that fires after Address Autocomplete has been initialized on the frontend. Usage Parameters instance GP_Address_Autocomplete Current instance of the class. formId int The …

gpaa_fields_filled (JS)

DescriptionUsageParametersSinceDescription Action that fires after a place is selected and Address Autocomplete has filled the fields. Usage Parameters place google.maps.places.PlaceResult The place selected. instance GP_Address_Autocomplete …

gpaa_autocomplete_options (JS)

DescriptionUsageParametersSinceDescription Filter to change the autocomplete options used to initialize Google Places API Autocomplete. Usage Parameters autocompleteOptions google.maps.places.AutocompleteOptions Options used to initialize Places API Autocomplete. …

gpld_after_set_max_date

DescriptionUsageParametersSinceExamplesPopulate the new maximum date into the field.Automatically show datepicker for linked Date field.Description Do something after the maximum date has been set for a …

gpnf_should_trash_entries_on_delete

Filter whether GPNF should trash child entries when they are deleted on the front-end.

gpnf_modal_button_css_classes (JS)

DescriptionUsageParametersExampleAdd a custom class to all buttonsSinceDescription Filter the CSS classes of buttons in the Nested Form modal. Usage Parameters buttonClasses string CSS classes for …

gplcb_should_validate_minimum

DescriptionUsageParametersSinceExamplesOnly validate minimum limit when field is required or when at least one checkbox has been checked.Description Filter whether the current field’s minimum limit be …

gppr_price_range_min

DescriptionUsageParametersExamplesModify the minimum price range based on a field value.Set a variable min/max range based on a field value.SinceDescription Filter the minimum price for a …

gppr_price_range_max

DescriptionUsageParametersExamplesModify the maximum price range based on a field value.Set a variable min/max range based on a field value.SinceDescription Filter the maximum price for a …

gpi_disable_choices

Filter whether choices should be disabled if not removed.

gpi_remove_choices

Filter whether choices should be removed.

gpi_selected_values

Filter the selected values for the current choice-based field.

gpi_out_of_stock_message

Filter validation message when the item is out of stock.