Documentation Category: Hook

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

Filter whether the current field’s minimum limit be validated.

gppr_price_range_min

Filter the minimum price for a field.

gppr_price_range_max

Filter the maximum price for a field.

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.

gpi_pre_render_choice

DescriptionUsageParametersSinceDescription Filter to modify choices (includes whether the choice has exceeded its limit). Usage Apply to all fields on all forms. Apply to all fields …

gpi_choice_counts

Filter the number of claimed choice counts for the given field.

gpi_is_edit_view

Filter if the current page should be treated as an “Edit View” to bypass Inventory Limits and allow [re-]selection of exhausted choices.