Hooks and Filters
Hooks and Filters Documentation for Comfort Events & Comfort Events Pro
Comfort Events Plugin
Action Hooks
comfortevent_event_delete_after
- Triggered after a event is deleted.
- Parameters:
$event_id
(int): The ID of the deleted event.$event
(object): Deleted event data.
- Example:
comfortevent_event_created
- Triggered when a event is created.
- Parameters:
$event
(object): The event object.$queryParams
(array): Request query params received in api.$source
(string): From where the api is called(frontent/backend).
- Example:
comfortevent_before_vuejs_mount_after
- Triggered before Vue.js components are mounted.
- Example:
comfortevent_after_main_content
- Triggered after the main content of the event archive.
- Example:
Filter Hooks
comfortevent_archive_title
- Filters the title of the event archive.
- Parameters:
$title
(string): The archive title.
- Example:
comfortevent_allowed_html_tags
- Filters the allowed HTML tags for the plugin.
- Parameters:
$tags
(array): Allowed HTML tags.
- Example:
comfortevent_event_js_translation
- Filters the JavaScript translations for the plugin.
- Parameters:
$translations
(array): Translations for JavaScript.
- Example:
comfortevent_setting_js_vars
- Filters the JavaScript variables used in settings.
- Parameters:
$vars
(array): JavaScript variables.
- Example:
Comfort Events Pro Plugin
Action Hooks
comfortevent_invoice_print_header
- Triggered when a invoice is created.
- Example:
comfortevent_invoice_print_footer
- Triggered when a invoice is created.
- Example:
Filter Hooks
comfortevent_email_classes
- Filters the email classes used by the plugin.
- Parameters:
$classes
(array): Email classes.
- Example:
This documentation provides an overview of the available hooks and filters in the Comfort Events
and Comfort Events Pro
plugins. Use these to extend or customize the functionality as needed.
Last modified: August 20, 2025