gpb_notify_on_ics_sync_failure

  1. Description
  2. Usage
  3. Parameters

Description

Filter whether to notify on sync failure.

Usage

Applied globally

add_filter( 'gpb_notify_on_ics_sync_failure', 'my_custom_function' );

Parameters

$notify bool

Whether to notify. Default true.

$config_id int

The calendar config ID.

$object_id int

The bookable object ID.

$object_type string

The bookable object type.

$identifier string

The calendar identifier (URL for ICS, name for Google).

$error string

The error message.