gpb_notify_on_ics_account_removed

  1. Description
  2. Usage
  3. Parameters

Description

Filter whether to notify when syncing stops because a config’s connected Google account was removed from GCGC.

Usage

Applied globally

add_filter( 'gpb_notify_on_ics_account_removed', '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.