gpb_booking_action_url

  1. Description
  2. Usage
  3. Parameters
  4. Since

Description

Filters the link behind {gpb_approve_booking} and {gpb_denybooking}. The link has to reach the site’s front end with its gpb* query arguments intact, since the confirmation page is served from there.

Usage

Applied globally

add_filter( 'gpb_booking_action_url', 'my_custom_function' );

Parameters

$url string

The link.

$action string

‘approve’ or ‘deny’.

$entry_id int

The entry ID.

$booking_ids int[]

The service bookings the link covers.

Since

  • 1.0.7 Hook added.