Documentation Category: Hook

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.

gpi_query

Filter the query used to get claimed inventory counts.

gpi_resource_post_type_args

Modify the arguments used for registering the Resource post type.

gpi_inventory_limit_simple

Filter the inventory limit for fields using the Simple Inventory Type.

gpi_inventory_limit_advanced

Filter the inventory limit for fields using the Advanced Inventory Type.