gpb_event_settings_fields
Description
Filters the list of optional event settings fields shown in the Google Calendar connection UI. Return an array of field keys to enable. Currently supported:
- ‘event_description’ – Show the Event Description textarea.
Usage
Applied globally
add_filter( 'gpb_event_settings_fields', 'my_custom_function' );Parameters
$fields
string[]
Array of enabled field keys. Default empty.
Examples
Enable the Event Description field
add_filter( 'gpb_event_settings_fields', function( $fields ) {
$fields[] = 'event_description';
return $fields;
} );Since
1.0-beta-2.2Hook added.