Simple Calendar 4.3.3 has 66 actions and 75 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Simple Calendar fires an action
add_action( 'simcal_clear_ics_feed_cache', function( $id ) {
// Your code runs here.
}, 10, 1 );
// Change a value Simple Calendar is about to use
add_filter( 'simcal_additional_event_link_attributes', function( $value, $attr ) {
// Change $value here.
return $value;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
simcal_clear_ics_feed_cache
action/** * Clear Pro ICS subscription feed cache for this calendar. */ do_action( 'simcal_clear_ics_feed_cache', $calendar->id ); -
/** * Fires after feed transients for a calendar are deleted. */ do_action( 'simcal_deleted_feed_transients', $calendar->id ); -
/** * Add additional event link attributes. */ apply_filters( 'simcal_additional_event_link_attributes', '', $attr ); -
simcal_before_event_detail
action/** * Before the event detail wrapper. */ do_action( 'simcal_before_event_detail', $post, $context ); -
/** * Print extra calendar action buttons (e.g. Pro ICS URL). */ do_action( 'simcal_calendar_action_buttons', $calendar_id, $show_ics_export ); -
simcal_can_manage_powered_by
filter/** * Filter whether the Spread the Word setting can be managed for a calendar. */ apply_filters( 'simcal_can_manage_powered_by', $can_manage, $calendar_id ); -
/** * Filter the prerequisites documentation URL shown in the empty-events notice. */ apply_filters( 'simcal_empty_events_notice_docs_url', $docs_url, $this ); -
simcal_event_detail_classes
filter/** * Filter event detail wrapper CSS classes. */ apply_filters( 'simcal_event_detail_classes', ['simcal-event-detail'], $post, $context ); -
simcal_event_detail_context
filter/** * Filter event detail template context. */ apply_filters( 'simcal_event_detail_context', $context, $post ); -
/** * Filter description HTML before output. */ apply_filters( 'simcal_event_detail_description_html', $content, $post, $context ); -
/** * Filter Add to Google Calendar link text. */ apply_filters( 'simcal_event_detail_gcal_text', __('Add to GCal', 'google-calendar-events'), $post, $context ); -
simcal_event_detail_html
filter/** * Filter the full event detail HTML. */ apply_filters( 'simcal_event_detail_html', $html, $post, $context ); -
simcal_event_detail_map_html
filter/** * Filter the map placeholder HTML. */ apply_filters( 'simcal_event_detail_map_html', $map_html, $post, $context ); -
/** * Filter whether a valid premium add-on license is active. */ apply_filters( 'simcal_has_valid_addon_license', $has_valid ); -
simcal_ics_feed_process_meta
action/** * Process add-on ICS feed meta before core file handling. */ do_action( 'simcal_ics_feed_process_meta', $post_id ); -
/** * Add ICS feed source fields after the file upload. */ do_action( 'simcal_ics_feed_settings_fields_after', $post_id ); -
/** * Extra VEVENT lines (e.g. Pro ORGANIZER / ATTENDEE / ATTACH). */ apply_filters( 'simcal_ics_vevent_extra_lines', [], $event ); -
/** * Filter Windows timezone ID to IANA mapping used by ICS Feed. */ apply_filters( 'simcal_ics_windows_timezone_map', $map ); -
/** * Filter whether a calendar is subject to the Powered by cutoff rules. */ apply_filters( 'simcal_is_powered_by_cutoff_calendar', $is_cutoff, $calendar_id ); -
/** * Filter whether the Powered by credit is mandatory for a calendar. */ apply_filters( 'simcal_is_powered_by_mandatory', $mandatory, absint($calendar_id) ); -
simcal_object_class_name
filter/** * Swap or override a resolved object class name. */ apply_filters( 'simcal_object_class_name', $class_name, $name, $type ); -
/** * Filter the Powered by feature cutoff datetime (UTC). */ apply_filters( 'simcal_powered_by_cutoff_datetime', '2026-11-10 00:00:00' ); -
/** * Filter whether to display the empty-events diagnostic notice. */ apply_filters( 'simcal_show_empty_events_notice', $show_notice, $this ); -
/** * Final Output ============ */ apply_filters( 'simcal_system_status_report_panels', $panels ); -
/** * Filter whether the current user can see the empty-events diagnostic notice. */ apply_filters( 'simcal_user_can_view_empty_events_notice', $can_view, $this ); -
/** * Filter the welcome video embed URL shown on the Connect welcome step. */ apply_filters( 'simple_calendar_connect_welcome_video_url', $default, $welcome_context_for_template ); -
apply_filters( "simcal_add_{$this->option_group}_{$this->id}_fields", $fields ); -
apply_filters( "simcal_add_{$this->option_group}_{$this->id}_sections", [ 'assets' => [ 'title' => __('Styles', 'google-calendar-events'), 'description' => '<div class="simcal-text-sm simcal-font-poppins simcal-font-normal simcal-text-sc_grey-100 simcal-mt-[5px] ">' . __('Manage front end assets that handle the calendars appearance.', 'google-calendar-events') . '</div>', ], 'optimisation' => [ 'title' => __('Optimisation', 'google-calendar-events'), 'description' ... ); -
simcal_default_feed_type
filterapply_filters( 'simcal_default_feed_type', 'google' ); -
simcal_installed_addons
filterapply_filters( 'simcal_installed_addons', [] ); -
do_action( "simcal_admin_page_{$page_slug}_{$current_tab}_end" ); -
do_action( "simcal_admin_page_{$page_slug}_{$current_tab}_start" ); -
simcal_calendar_html_after
actiondo_action( 'simcal_calendar_html_after', $this->id ); -
simcal_calendar_html_before
actiondo_action( 'simcal_calendar_html_before', $this->id ); -
simcal_default_calendar_type
filterapply_filters( 'simcal_default_calendar_type', 'default-calendar' ); -
apply_filters( 'simcal_ics_feed_show_core_options', true, $post_id ); -
apply_filters( 'simcal_is_google_calendar_pro_active', $is_pro_active ); -
simcal_plugin_action_links
filterapply_filters( 'simcal_plugin_action_links', array_merge($links, $action_links) ); -
apply_filters( 'simple_calendar_oauth_list_events', '', $id, $args ); -
before_simcal_init
actiondo_action( 'before_simcal_init' ); -
plugin_locale
filterapply_filters( 'plugin_locale', get_locale(), 'google-calendar-events' ); -
apply_filters( "simcal_{$this->option_group}_{$this->id}_sections_callback", $default ); -
simcal_activated
actiondo_action( 'simcal_activated' ); -
simcal_add_ajax_callbacks
actiondo_action( 'simcal_add_ajax_callbacks' ); -
simcal_add_meta_boxes
actiondo_action( 'simcal_add_meta_boxes' ); -
simcal_add_shortcodes
actiondo_action( 'simcal_add_shortcodes' ); -
apply_filters( "simcal_addon_status_{$this->addon}", simcal_get_license_status($this->addon) ); -
simcal_admin_notices
filterapply_filters( 'simcal_admin_notices', get_option('simple-calendar_admin_notices', []) ); -
do_action( "simcal_admin_page_{$page_slug}_{$advanced_tab_id}_end" ); -
do_action( "simcal_admin_page_{$page_slug}_{$advanced_tab_id}_start" ); -
apply_filters( "simcal_admin_page_{$page_slug}_{$advanced_tab_id}_submit", true ); -
do_action( "simcal_admin_page_{$page_slug}_{$calendars_tab_id}_end" ); -
do_action( "simcal_admin_page_{$page_slug}_{$calendars_tab_id}_start" ); -
apply_filters( "simcal_admin_page_{$page_slug}_{$calendars_tab_id}_submit", true ); -
apply_filters( "simcal_admin_page_{$page_slug}_{$current_tab}_submit", true ); -
simcal_admin_pages
actiondo_action( 'simcal_admin_pages', $page ); -
simcal_after_event_detail
actiondo_action( 'simcal_after_event_detail', $post, $context ); -
do_action( 'simcal_after_event_detail_description', $post, $context ); -
do_action( 'simcal_after_event_detail_details', $post, $context ); -
do_action( 'simcal_after_event_detail_location', $post, $context ); -
do_action( 'simcal_after_event_detail_meta', $post, $context ); -
do_action( 'simcal_after_event_detail_sidebar', $post, $context ); -
do_action( 'simcal_before_event_detail_description', $post, $context ); -
do_action( 'simcal_before_event_detail_details', $post, $context ); -
do_action( 'simcal_before_event_detail_location', $post, $context ); -
do_action( 'simcal_before_event_detail_meta', $post, $context ); -
do_action( 'simcal_before_event_detail_sidebar', $post, $context ); -
do_action( 'simcal_before_event_detail_summary', $post, $context ); -
simcal_before_update
actiondo_action( 'simcal_before_update', $this->installed_ver ); -
simcal_calendar_class
filterapply_filters( 'simcal_calendar_class', ['simcal-calendar', $this->type, $view_class], $this->id ); -
simcal_calendar_default_feed
filterapply_filters( 'simcal_calendar_default_feed', 'google' ); -
simcal_calendar_default_type
filterapply_filters( 'simcal_calendar_default_type', 'default-calendar' ); -
simcal_calendar_get_view
actiondo_action( 'simcal_calendar_get_view', $this->type, $view ); -
simcal_calendar_title
filterapply_filters( 'simcal_calendar_title', $title ); -
apply_filters( 'simcal_common_scripts_variables', [] ); -
apply_filters( 'simcal_connect_authenticate_with_google_url', '' ); -
apply_filters( 'simcal_connect_oauth_via_simple_calendar_url', $authredirect ); -
apply_filters( 'simcal_connect_own_oauth_calendarlist', null ); -
apply_filters( 'simcal_connect_settings_fields', $fields ); -
simcal_current_cols
filterapply_filters( 'simcal_current_cols', $calendar->static ? '7' : '5' ); -
simcal_deactivated
actiondo_action( 'simcal_deactivated' ); -
apply_filters( 'simcal_default_calendar_views', [ 'grid' => __('Grid', 'google-calendar-events'), 'list' => __('List', 'google-calendar-events'), ] ); -
apply_filters( 'simcal_default_event_template', $content ); -
do_action( 'simcal_delete_plugin_transients' ); -
simcal_enqueue_assets
actiondo_action( 'simcal_enqueue_assets' ); -
simcal_event_detail_details
actiondo_action( 'simcal_event_detail_details', $post, $context ); -
do_action( 'simcal_event_detail_details_rows', $post, $context ); -
simcal_event_detail_location
actiondo_action( 'simcal_event_detail_location', $post, $context ); -
simcal_event_detail_meta
actiondo_action( 'simcal_event_detail_meta', $post, $context ); -
simcal_event_detail_sidebar
actiondo_action( 'simcal_event_detail_sidebar', $post, $context ); -
simcal_event_detail_summary
actiondo_action( 'simcal_event_detail_summary', $post, $context ); -
simcal_event_tags_add_custom
filterapply_filters( 'simcal_event_tags_add_custom', [] ); -
simcal_event_tags_do_custom
filterapply_filters( 'simcal_event_tags_do_custom', '', $tag, $partial, $attr, $event ); -
simcal_feed_type_labels
filterapply_filters( 'simcal_feed_type_labels', [] ); -
apply_filters( 'simcal_feed_types_requiring_google_api_key', ['google'] ); -
simcal_front_end_scripts
filterapply_filters( 'simcal_front_end_scripts', $scripts ); -
simcal_front_end_styles
filterapply_filters( 'simcal_front_end_styles', $styles ); -
apply_filters( "simcal_get_{$this->option_group}_{$this->id}", $settings ); -
simcal_get_admin_pages
filterapply_filters( 'simcal_get_admin_pages', [] ); -
simcal_get_calendar_types
filterapply_filters( 'simcal_get_calendar_types', [] ); -
simcal_get_feed_types
filterapply_filters( 'simcal_get_feed_types', [] ); -
simcal_get_widgets
filterapply_filters( 'simcal_get_widgets', ['SimpleCalendar\Widgets\Calendar'], [] ); -
apply_filters( 'simcal_google_client_curl_options', [] ); -
do_action( 'simcal_ics_feed_file_field_before', $post_id ); -
apply_filters( 'simcal_ics_feed_file_field_label', __('ICS File', 'google-calendar-events') ); -
apply_filters( 'simcal_ics_feed_hide_file_source', false, $post_id ); -
do_action( 'simcal_ics_feed_settings_fields_before', $post_id ); -
simcal_init
actiondo_action( 'simcal_init' ); -
apply_filters( 'simcal_is_appointment_addon_active', $is_active ); -
apply_filters( 'simcal_is_fullcalendar_addon_active', $is_active ); -
simcal_load_meta_boxes
actiondo_action( 'simcal_load_meta_boxes' ); -
simcal_load_objects
actiondo_action( 'simcal_load_objects', $is_admin ); -
simcal_loaded
actiondo_action( 'simcal_loaded' ); -
simcal_next_cols
filterapply_filters( 'simcal_next_cols', '1' ); -
simcal_no_events_message
filterapply_filters( 'simcal_no_events_message', $nothing_message, $calendar->id, $from, $to ); -
apply_filters( 'simcal_post_type_registration_args', $args ); -
simcal_prev_cols
filterapply_filters( 'simcal_prev_cols', '1' ); -
simcal_process_settings_meta
actiondo_action( 'simcal_process_settings_meta', $post_id ); -
simcal_register_assets
actiondo_action( 'simcal_register_assets' ); -
simcal_register_post_types
actiondo_action( 'simcal_register_post_types' ); -
simcal_register_taxonomies
actiondo_action( 'simcal_register_taxonomies' ); -
simcal_register_widgets
actiondo_action( 'simcal_register_widgets' ); -
do_action( 'simcal_save_attach_calendar_meta', $post_id, $post ); -
simcal_save_meta_boxes
actiondo_action( 'simcal_save_meta_boxes', $post_id, $post ); -
simcal_save_sc_event_meta
actiondo_action( 'simcal_save_sc_event_meta', $post_id, $post ); -
simcal_save_settings_meta
actiondo_action( 'simcal_save_settings_meta', $post_id, $post ); -
apply_filters( 'simcal_sc_event_category_taxonomy_args', $args ); -
apply_filters( 'simcal_sc_event_post_type_args', $args ); -
apply_filters( 'simcal_sc_event_tag_taxonomy_args', $args ); -
do_action( 'simcal_settings_meta_advanced_panel', $post->ID ); -
do_action( 'simcal_settings_meta_calendar_panel', $post->ID ); -
do_action( 'simcal_settings_meta_events_panel', $post->ID ); -
simcal_settings_meta_panels
actiondo_action( 'simcal_settings_meta_panels', $post->ID ); -
simcal_settings_meta_tabs
actiondo_action( 'simcal_settings_meta_tabs' ); -
simcal_settings_meta_tabs_li
filterapply_filters( 'simcal_settings_meta_tabs_li', [ 'events' => [ 'label' => __('Events', 'google-calendar-events'), 'target' => 'events-settings-panel', 'class' => ['active'], 'icon' => 'simcal-icon-event', ], 'calendar' => [ 'label' => __('Appearance', 'google-calendar-events'), 'target' => 'calendar-settings-panel', 'class' => [], 'icon' => 'simcal-icon-calendar', ], ], $post->ID ); -
do_action( 'simcal_shortcode_assets_loaded' ); -
apply_filters( 'simcal_system_status_report_sections', $sections ); -
simcal_updated
actiondo_action( 'simcal_updated', $this->new_ver ); -
apply_filters( 'simcal_validate_api_key_public_calendar_id', 'en.usa#holiday@group.v.calendar.google.com' ); -
widget_title
filterapply_filters( 'widget_title', $instance['title'], $instance, $this->id_base );
Generated from Simple Calendar's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: