Documentation Category: Hook

gpb_availability_end

Filter the end date for availability checks. This filter allows you to set an absolute maximum date for bookings. Any dates after this will be marked as unavailable in REST responses and rejected during booking validation. Return null to allow bookings indefinitely into the future (no restriction outside of Availability Windows).

gpb_availability_start

Filter the start date for availability checks. This filter allows you to set an absolute minimum date for bookings. Any dates before this will be marked as unavailable in REST responses and rejected during booking validation. Return null to allow bookings from today onwards (no restriction outside of Availability Windows).

gcgs_form_field_choices

Filter the choices available in the form field dropdown.

gpcc_copy_cat_fields

Modify the data that will be passed to the Copy Cat script on the frontend.

gpalf_should_hide_list_buttons

Specify whether List field add/remove buttons should be visible. Defaults to true.

gpep_cookie_path

Modify the path used for the cookie.

gpep_expiration

Modify the cookie expiration time.

gpep_disable_session_manager

This filter disables GPEP session manager which makes GPEP usable only with tokens.

gpep_expiration_variant

Modify the cookie expiration variant time.

gpep_source_form_field_map

Filter the source form field map.

gpeu_show_message_preview

Filter whether to display a message preview for each email when reviewing emails. If sending a large number of emails, it may be advantageous to disable the message preview for performance reasons.

gpns_user_unsubscribed

Fires after a user has been successfully unsubscribed from GPNS notifications. This action provides all the details about the unsubscribe action, allowing developers to trigger custom actions such as sending admin notifications, unsubscribing from third-party services, or logging the event.

gpb_booking_field_init_script_args

Filter the arguments passed to the Booking field init script.

gpfup_gravity_pdf_link_images

Filter whether or not to wrap images in PDFs generated by Gravity PDF with a tags that link to the original image URL.

gpb_ics_event

Filter the ICS event data before it’s added to the calendar.