-
Notifications
You must be signed in to change notification settings - Fork 16
Hooks
github-actions[bot] edited this page Jun 21, 2026
·
8 revisions
-
mc_get_core_icon_indexFilter the index of icons available to My Calendar categories. -
mc_get_core_iconsFilter the array of icons available to My Calendar categories.
-
_get_template_partAllow template choices to be filtered. _get_template_part_{$slug}-
_template_pathsAllow ordered list of template paths to be amended. get_template_part_{$slug}
-
mc_is_mobileAdd custom logic to detect mobile environments for My Calendar. -
mc_is_tabletAdd custom logic to detect tablet environments for My Calendar. -
mc_output_is_visibleFilter whether any given piece of information should be output. -
mc_user_can_see_private_eventsFilter whether an event is visible to the current user. -
mc_user_can_see_this_eventFilter whether a personal event is visible.
-
mc_event_futureExecute action before an event will occur. -
mc_event_happeningExecute action while an event is happening. -
mc_event_overExecute action after an event has occurred. -
mc_from_dateFilter the calendar start date. -
mc_get_week_daysFilter the days of the week as used for column headings in grid format. -
mc_hide_additional_daysHide subsequent days of events crossing multiple days. mc_ordinal-
mc_private_categoryFilter the privacy status of an event. -
mc_private_eventFilter the privacy status of an event. -
mc_to_dateFilter the calendar end date.
-
mc_db_prefixFilter the database prefix. Useful when accessing a remote database with a different prefix.
-
mc_event_access_choicesFilter available event accessibility options. -
mc_location_access_choicesFilter choices available for location accessibility services.
-
mc_event_statesFilter available event status types. -
mc_event_states_by_typeFilter the display type for event states. -
mc_event_states_labelFilter the label for an event state. -
mc_event_states_typeFilter the display conditions of an event status.
-
mc_custom_user_selectFilter the list of users used to select authors or hosts. -
mc_debugExecute a custom debug action during an mc_debug call. Runs if MC_DEBUG_METHOD is not 'email'. mc_event_link_expires-
mc_filter_user_argumentsFilter WP_User_Query arguments inmc_get_users(). -
mc_filter_{$type}Filter My Calendar admin notices. -
mc_get_usersBypass mc_get_users return value when getting users in My Calendar. mc_no_fifth_weekmc_skip_holidaysmc_strip_tags
-
mc_event_has_alarmFilter information used to set an alarm on an event in .ics files. -
mc_ical_timezoneFilter TimeZone passed toDateTimeZoneto set event timezone in iCal. -
mc_ical_x_published_ttlFilter the suggested frequency for iCal subscription sources to be rechecked. Default 1440 (One day in minutes).
-
mc_custom_templateFilter My Calendar view output. Returning any content will shortcircuit drawing event output. -
mc_default_output_orderFilter the order in which event template display elements are appended. -
mc_details_grid_linkFilter link to event details in grid. -
mc_event_contentFilter details output. -
mc_event_detail_Filter individual display output items. Variable filter name based onarray( 'close', 'inner_title', 'list_title', 'time_html', 'img', 'description', 'short', 'location', 'access', 'link', 'status', 'tickets', 'author', 'host', 'sharing', 'return' ); -
mc_event_upcomingFilter upcoming events list item output. -
mc_event_upcoming_afterClosing elements for today's events list items. Default</li>. -
mc_event_upcoming_beforeOpening elements for today's events list items. Default<li class="$classes">. -
mc_heading_level_listFilter list event heading level. Default 'h3'. -
mc_inner_contentFilter event content inside wrapper. -
mc_registration_stateFilter registration status of event. Default empty. -
mc_return_uriFilter URL appended on single event view to return to calendar. -
mc_use_custom_templateFilter My Calendar view template.
-
mc_post_access_term_formExecute action after access term editor form prints to screen.
-
mc_api_auto_dateDefault date for API 'to' parameter. Default '+ 7 days'. -
mc_api_keyFilter to test access to the event API. Default 'true'. -
mc_filter_api_argsFilter arguments submitted to the API. -
mc_ical_attributesFilter calendar arguments for iCal output. -
mc_ical_download_fromFilter iCal download 'from' date. -
mc_ical_download_toFilter iCal download 'to' date.
-
mc_category_fieldsInsert custom fields for categories. -
mc_category_iconFilter the HTML output for a category icon. -
mc_category_listFilter the categories available in a category selection interface. -
mc_override_category_iconOverride the return value for a category icon. -
mc_post_add_categoryExecute action after inserting a new category into the My Calendar database. -
mc_post_category_formExecute action after category editor form prints to screen. -
mc_pre_add_categoryFilter data before inserting a new category. -
mc_private_categoriesFilter which categories are considered private. -
mc_save_userExecute action when saving My Calendar data in a user profile. -
mc_user_fieldsAdd custom fields to the My Calendar section of the user profile.
-
mc_add_events_urlFilter URL displayed for 'Add Event' link in adminbar. Return empty value to disable. -
mc_adminbar_uriFilter URL displayed for 'My Calendar' link in adminbar. -
mc_ajax_jsFilter to replace scripts used on front-end for AJAX behavior. Default empty string. -
mc_convert_locations_select_to_autocompleteFilter the number of locations required to trigger a switch between a select input and an autocomplete. -
mc_custom_dirsFilter My Calendar's array of directories to check for custom files. Use to define where your custom templates and styles will be found. -
mc_custom_spam_statusTest spam status before Akismet runs. Returns immediately and shortcircuits tests. -
mc_customize_email_headersFilter event notification email headers. -
mc_disable_mobile_jsDisable scripting on mobile devices. -
mc_disable_spam_checkingDisable automatic spam checking (turned on when Akismet is active.) -
mc_display_css_on_archivesFilter whether My Calendar styles should be displayed on archive pages. Default 'true'. -
mc_event_mail_bccFilter event notification email bcc headers. -
mc_event_mail_bodyFilter event notification email body. -
mc_event_mail_fromFilter event notification email from header. -
mc_event_mail_subjectFilter event notification email subject. -
mc_event_mail_toFilter event notification email to header. -
mc_file_existsFilter test for whether a file exists. Return true to confirm file exists. -
mc_get_current_urlFilter the URL returned for the current URL. -
mc_get_fileFilter file paths for My Calendar files. -
mc_grid_jsFilter to replace scripts used on front-end for grid behavior. Default empty string. -
mc_list_jsFilter to replace scripts used on front-end for list behavior. Default empty string. -
mc_mini_jsFilter to replace scripts used on front-end for mini calendar behavior. Default empty string. -
mc_registered_stylesheetFilter url to get My Calendar stylesheet. -
mc_send_notificationFilter whether email notifications should be sent. -
mc_setup_allowed_sitesFilter what sites are allowed CORS access. -
mc_style_variablesFilter the core My Calendar CSS variables. the_title
-
mc_select_preset_templatesFilter the selectable list of template options in settings.
-
mc_before_delete_eventAction run just before an event is deleted. -
mc_before_event_formInsert content before the event form. Not in the form. -
mc_before_save_insertFilter updated event data prior to saving. -
mc_before_save_updateFilter updated event data prior to saving. -
mc_cached_pages_to_refreshFilter URLS that should be refreshed in caches. -
mc_custom_content_editorFilter the editor to use a custom content editor field. -
mc_datepicker_htmlFilter the My Calendar datepicker output. -
mc_datetime_inputsFilter My Calendar default date/time inputs. -
mc_default_event_lengthFilter default event length. Events without a specified end time are considered to occupy one hour by default. -
mc_delete_eventAction run when an event is deleted. -
mc_delete_event_instanceAction run when a single date of an event is deleted. -
mc_deleted_postExecute action when an event's post is deleted. -
mc_event_access_fieldsCustom fields after event accessibility selections. -
mc_event_detailsRender custom fields in the admin. -
mc_event_noticesFilter notices. This is really handled and used as an action, but is still labeled a filter for backwards compatibility. -
mc_event_permalink_slugFilter the permalink slug for My Calendar events. Return value will be run throughsanitize_title(). -
mc_event_registration_formFilter event registration form for event input. -
mc_event_saved_messageFilter message returned to user after saving an event. -
mc_fields_requiredGenerate errors for required fields. -
mc_filter_event_controlsFilter array of controls shown on event editor. -
mc_insert_custom_fieldsContainer for custom fields inserted after the event title field. -
mc_insert_recurringShort circuit inserting a recurring event. Return true if event should not be inserted. -
mc_instance_dataFilter recurring event instance data array. -
mc_instance_formatFilter recurring event instance database format array. -
mc_notify_event_spamAction executed when an event is marked as spam and eemail notifications are enabled. -
mc_post_templateFilter post template when event post is generated. -
mc_pre_checkdataFilter posted data before performing event data checks. -
mc_save_eventRun action when an event is saved. -
mc_set_primary_categoryFilter primary category decision. Primary category is normally the alphabetically first listed category or the first selected private category. -
mc_show_blockFilter the content of an editing block. -
mc_time_maxSet the latest time an event can be scheduled for. -
mc_time_minSet the earliest time an event can be scheduled for. -
mc_transition_eventExecute an action when an event changes status. mc_twitter_text-
mc_update_event_postExecute action when an event's post is updated. -
mc_use_permalinksCheck whether permalinks are enabled. -
mcs_check_conflictsFilter the results of a check for time/location conflicts.
-
mc_api_can_edit_eventFilter permissions to edit an event via the My Calendar Pro REST API. -
mc_bulk_actionsFilter Event manager bulk actions. -
mc_can_edit_eventFilter permissions to edit an event. -
mc_do_bulk_actionsExecute custom bulk actions. -
mc_filter_admin_grid_argsFilter arguments used to display the calendar grid view for admins. -
mc_mass_{$action}Dynamic action executed when a group of events is bulk modified. -
mc_user_permissionsFilter permissions for users editing a category. -
mcs_complete_submissionRun action when a publically submitted event is un-spammed.
-
mc_event_objectCustomize the My Calendar event object. -
mc_filter_eventsFilter events returned by mc_get_all_events queries. Function returns a range of events based on proximity to the current date using parameters for number of days/events before or after today. -
mc_filter_offsetFilter timezone offset applied when displaying events. Can fix issues with an incorrect server time. -
mc_future_search_resultsNumber of future results to show. Default20. -
mc_get_events_sitesFilter site parameter in queries on a multisite network. Allows a query to show events merged from multiple sites using a single shortcode. -
mc_happening_next_templateCustomize the template used to draw the next event shortcode output. -
mc_happening_now_templateCustomize the template used to draw the "happening now" shortcode output. -
mc_past_search_resultsNumber of past results to show. Default0. -
mc_primary_sortSet primary sort for getting happening events. Default 'occur_begin'. -
mc_rss_feed_date_rangeFilter how many days of newly added events will be included in ICS subscription links. -
mc_search_attributesFilter advanced search query arguments. -
mc_searched_eventsFilter search events. -
mc_secondary_sortSet secondary sort for getting happening events. Default 'event_title ASC'. -
my_calendar_events_argsFilter calendar event query arguments.
-
mc_generator_tab_contentInsert a tab panel into the shortcode generator tabs. -
mc_generator_tabsInsert a tab selector button into the shortcode generator tab list. -
mc_shortcode_generatorInject custom shortcode generator output. Handles custom shortcode generation.
-
mc_event_registrationFilter event registration fields. -
mc_groups_pre_checkdataFilter posted event group data prior to running event data checks. -
mc_save_grouped_eventsRun action when a group of events are saved. -
mc_update_group_dataFilter calendar update data before saving an individual event when managing groups.
-
mc_after_helpExecute action after My Calendar Help data. -
mc_before_helpExecute action after My Calendar Help data.
-
mc_default_optionsFilter the default values for My Calendar settings. -
mc_widget_defaultsCustomize the default values used for Upcoming and Today's events widgets.
-
mc_location_limit_sqlCustomize location limit SQL.
-
mc_clean_duplicate_locationsRun when action to clean up duplicate locations is run. -
mc_location_manager_cellsAdd custom column table cells to Location Manager. -
mc_location_manager_headersAdd custom column table headers to Location Manager. -
mc_mass_delete_locationsRun when multiple locations are deleted.
-
mc_controlled_fieldFilter whether a controllable location field has controlled values. -
mc_countries_filtersFilter the country list before returning. -
mc_create_location_postExecuted an action when a location post is created. -
mc_delete_locationExecuted an action when a location is deleted. -
mc_delete_location_postsExecuted an action when a location's post is deleted. -
mc_display_location_eventsFilter the arguments used to generate upcoming events for a location. Default ['ltype' => 'name', 'lvalue' => {location_label}, 'type' => 'events', 'after' => 5, 'before' => 0, 'fallback' => 'No events currently scheduled at this location.']. -
mc_filter_location_resultsFilter returned results when searching locations. -
mc_location_container_primaryAppend content in the primary column of location fields. -
mc_location_container_secondaryAppend content in the secondary column of location fields. -
mc_location_controllerFilter the string of<option>elements inside the<select>input used for a controlled location field. -
mc_location_fieldsReturn custom fields for use in My Calendar locations. Fields should format like: -
mc_location_outputFilter the HTML output for single location details. -
mc_modify_locationExecuted an action when a location is modified. -
mc_order_location_fieldsFilter available custom fields & set display order. -
mc_save_locationExecute an action when a location is saved. -
mc_search_fieldsCustomize the MATCH fields for a MyISAM boolean search query. -
mc_update_location_postExecuted an action when a location post is updated.
-
mc_handle_importer_custom_fieldsHandle custom fields passed from the importer before doing the import. -
mc_importer_custom_fieldsOutput any custom fields or data required by the importer.
-
mc_access_selectorFilter the HTML for the accessibility feature filter in navigation elements. -
mc_category_keyFilter the category key output in navigation. -
mc_category_key_arrayFilter the array of categories used to generate the category legend in My Calendar. -
mc_category_selectorFilter the HTML for the category filter dropdown in navigation elements. -
mc_footer_navigationFilter the order in which navigation elements are shown at the bottom of the calendar. -
mc_format_toggle_htmlFilter the HTML for the list/grid/card format switcher in navigation elements. -
mc_header_navigationFilter the order in which navigation elements are shown on the top of the calendar. -
mc_jumpboxFilter the HTML for the date jumpbox controls. -
mc_jumpbox_future_yearsHow many years into the future should be shown in the navigation jumpbox. Default '5'. -
mc_month_formatFilter the date format used for previous link if the previous link is in the same year. -
mc_month_year_formatFilter the date format used for previous link if the prev link is in a different year. -
mc_next_linkFilter HTML output for navigation 'next' link. -
mc_previous_linkFilter HTML output for navigation 'prev' link. -
mc_text_all_categoriesFilter text label for 'All Categories'. -
mc_time_toggle_htmlFilter the HTML for the time format switcher in navigation elements. -
mc_today_linkFilter HTML output for navigation 'today' link.
-
mc_after_calendarAppend content after the calendar. -
mc_after_eventAppend content after single event. Default empty string. -
mc_after_event_no_detailsFilter container after event details when view details panel is disabled. -
mc_all_list_datesChange whether list format removes dates with no events. -
mc_before_calendarPrepend content before the calendar. -
mc_before_eventPrepend content before single event. Default empty string. -
mc_before_event_no_detailsFilter container before event details when view details panel is disabled. -
mc_body_classesFilter classes used on the main My Calendar wrapper element. -
mc_calendar_attributesFilter calendar view attributes. -
mc_close_buttonFilter event modal close button label. -
mc_date_formatEnd date format used in 'date', 'datespan', and 'multidate' template tags. Default from My Calendar settings. -
mc_default_image_sizeDefault image size used for event listings when 'large' image not available. Default 'thumbnail'. -
mc_disable_linkDisplay details links globally from main calendar view. -
mc_display_formatFilter the display format. -
mc_event_classesFilter event classes. -
mc_event_details_outputFilter event details HTML. Content not including title header. -
mc_event_image_altCustomize alt attribute for an event featured image that is not attached to a post. -
mc_event_post_contentFilter single event content prior to running shortcodes. -
mc_event_titleCustomize event title in group views. -
mc_execute_the_contentEnable runningthe_contentfilters on My Calendar output. -
mc_filter_dayFilter the starting day for the [my_calendar] shortcode. -
mc_filter_location_listFilter thewhereclause of the location list SQL query. Default empty string. -
mc_filter_monthFilter the starting month for the [my_calendar] shortcode. -
mc_filter_yearFilter the starting year for the [my_calendar] shortcode. -
mc_grid_dateAlter the date format used to show the current day in grid view. Default 'j'. -
mc_grid_day_wrapperAlter the date wrapper HTML element for the grid view. Defaulttd. -
mc_grid_header_wrapperAlter the HTML date header element for the grid view. Defaultth -
mc_grid_week_wrapperChange the element wrapping a week of events in grid view. Defaulttr. -
mc_grid_wrapperAlter the outer wrapper HTML element for the grid view. Defaulttable. -
mc_grouped_eventsFor large lists of related events, related events are not shown by default. Only runs if number of related events higher thanmc_related_event_limit. -
mc_headingFilter the main calendar heading in multiday views. -
mc_heading_inner_titleFilter event title inside event heading. -
mc_heading_levelMain heading level. Defaulth2. -
mc_heading_level_tableFilter default event heading when in a table. -
mc_hide_nextmonthHide events in next or previous month in grid view. -
mc_hide_past_datesFilter whether past dates are hidden in the initial list view. Dates are only hidden when no date parameters are set in the URL. -
mc_legacy_templates_enabledFilter legacy templates status. New templates are intended for release with version 3.5.0 and will be in alpha at least through then. -
mc_list_event_title_hintFormat a single title for display in multiple titles on list view. -
mc_list_title_titleFormat a single title for display in single titles on list view. -
mc_list_titles_separatorFilter separator used to separate a collection of event titles on the list view day while collapsed. -
mc_location_listFilter the output HTML of the location list. -
mc_location_selectorFilter the output HTML of the location selector. -
mc_override_featured_imageFires when displaying an event image in the default template. Return false to show the template image rather than the theme's featured image. -
mc_post_thumbnail_attsAttributes added to My Calendar event images. Defaultarray( 'class' => 'mc-image' ). Seeget_the_post_thumbnail()docs at WordPress.org. -
mc_process_shortcodesDisable shortcode parsing in content. Default 'true'. -
mc_recurring_event_limitHow many recurring events should there be before they are not shown? Default50. -
mc_recurring_eventsFor large lists of recurring events, recurring events are not shown by default. -
mc_related_event_limitHow many related events should there be before they are not shown? Default50. -
mc_search_pageFilter the target action URL for search query form. Should target a page with a [my_calendar} shortcode. -
mc_show_monthsFilter how many months to show in list views. -
mc_show_week_numberShould the number of the week (1-52) appear in the calendar grid. -
mc_single_event_shortcodeFilter shortcode before appending to single event content. -
mc_single_event_titleCustomize event title in single view. -
mc_time_html_valuesFilter time and date display values. -
mc_titles_formatFormat titles displayed in multiple titles on list view. Default ''. Returning any value will shortcircuit standard formatting. -
mcs_time_blockFilter time block output. -
mcs_view_admin_links_on_frontendFilter the permission required to view admin links on frontend when using Pro. Default 'manage_options'. -
my_calendar_bodyFilter the calendar shortcode main body output. -
my_calendar_drawing_eventRuns right before a calendar event template is handled. -
my_calendar_event_drawnRuns right after a calendar event template is run. -
the_contentEnable runningthe_contentfilters on My Calendar output.
-
mc_print_return_urlFilter the root URL used to generate the return URL. -
mc_print_view_headExecute action in theheadelement of the My Calendar print view, where wp_head() won't be run. -
mc_return_to_calendarReturn to calendar URL from print view.
-
mc_advanced_searchBuild the advanced search query. Default '' -
mc_search_afterHTML template after the search results. Default</ol>. -
mc_search_beforeHTML template before the search results. Default<ol class="mc-event-list mc-search-results">. -
mc_search_exportlinksFilter that inserts search export links. Default empty string. -
mc_search_no_resultsHTML template if no search results. Default<li class='no-results'>" . __( 'Sorry, your search produced no results.', 'my-calendar' ) . '</li>. -
mc_search_templateTemplate for outputting search results. Default<strong>{date}</strong> {title} {details}. -
mc_skip_search_resultsNumber of results to skip. Default0. Used for pagination.
-
mc_after_settingsRender content after settings panels have displayed. Default ''. -
mc_capabilitiesAdd custom capabilities to the array of My Calendar permissions. New capabilities can be assigned to roles in the My Calendar settings. -
mc_save_settingsRun when settings are saved. Default ''. First argument is a remnant from when this was a filter. -
mc_settings_section_linksAdd additional buttons to collection of settings tabs.
-
mc_display_authorFilter the author parameter for a My Calendar view if set as 'current'. Default current user ID. -
mc_display_hostFilter the host parameter for a My Calendar view if set as 'current'. Default current user ID.
-
mc_create_tagsExecute action before tags are created. -
mc_customize_details_linkURL to an event's permalink page. -
mc_date_badgeFilter the date badge HTML. -
mc_date_utc_formatEnd date format used in 'date_end_utc'. Default from My Calendar settings. -
mc_daterange_begin_formatStart date format used in 'date' and 'daterange' template tags. Fallback value fordatespan. Default from My Calendar settings. -
mc_daterange_end_formatEnd date format used in 'enddate' and 'daterange' template tags. Default from My Calendar settings. -
mc_details_templateFilter template for the{details}output. Default:Details about {title}. -
mc_event_expiredExecute action once an event is over. -
mc_event_expired_linkLink to return if an event's link has expired. Default empty string. -
mc_event_recur_stringText representation of a recurring event pattern. -
mc_event_schemaFilter JSON/LD event schema data. https://schema.org/event. -
mc_excerpt_lengthLength of My Calendar generated excerpts in words. Default 55. -
mc_filter_image_dataFilter template tag array and add image data. Runs before other template tags are created. Usemc_filter_shortcodesto modify existing template tags. -
mc_filter_shortcodesFilter all template tags after generation. -
mc_gcal_descriptionFilterdetailsparameter added to Google Calendar link. Default&details=$description. Return value needs to be URL encoded. -
mc_gcal_locationFilterlocationparameter added to Google Calendar link. Default&location=$location. Return value needs to be URL encoded. -
mc_get_uriLink to the My Calendar main calendar view. -
mc_gmap_htmlSource HTML for generating a map of calendar locations. -
mc_hcardFilter location hcard HTML output. -
mc_inner_content_template_fieldsFilter fields thatmc_inner_contentruns on in templates. -
mc_insert_author_dataFilter template tag array and add author data. Runs before other template tags are created. Usemc_filter_shortcodesto modify existing template tags. -
mc_location_events_linkFilter link to location-specific events in hcard. -
mc_location_schemaFilter array used to generate location schema. See https://schema.org/location. -
mc_map_heightDefault map height. Default value300px. -
mc_map_htmlSource HTML for a single location marker. -
mc_map_iconURL to Google Map marker image. -
mc_map_labelLabel for link to Maps for event location. -
mc_map_urlGoogle maps URL. -
mc_map_widthDefault map width. Default value100%. -
mc_notime_labelLabel to use in place of time for an event with no fixed time. -
mc_phone_formatFormat a phone number for display in template tags. -
mc_preset_templateFilter the HTML output of default list presets. -
mc_recurring_templateHTML format for displaying recurring events on a single event view. Default{date}, {time}. -
mc_related_templateHTML format for displaying related events on a single event view. Default{date}, {time}. -
mc_subheading_levelFilter subheading levels inside event content. -
mc_tags_createdExecute action when tags are created. -
mc_templateFilter a rendered My Calendar template after parsing. -
mc_use_avatarsFilter to enable or disable avatars.
-
mc_draw_todays_eventDraw a custom template for today's events. Returning any non-empty string short circuits other template settings. -
mc_draw_upcoming_eventDraw a custom template for upcoming events. Returning any non-empty string short circuits other template settings. -
mc_event_todayFilter the array of events listed in today's events lists. -
mc_include_today_in_totalShould today's events be counted towards total number of upcoming events. Defaultyes. Any value other than 'no' will be interpreted as 'yes'. -
mc_today_attributesModify the arguments used to generate today's events. -
mc_todays_events_afterClosing elements for today's events list items. Default</li>. -
mc_todays_events_beforeModify the HTML preceding each list item in a list of today's events. -
mc_todays_events_footerReplace the list footer for today's events lists. Default value</ul>. -
mc_todays_events_headerReplace the list header for today's events lists. Default value<ul id='todays-events-$hash' class='mc-event-list todays-events'$lang>. -
mc_upcoming_attributesModify the arguments used to generate upcoming events. -
mc_upcoming_date_fromCustom upcoming events date start value for upcoming events lists using date parameters. -
mc_upcoming_date_toCustom upcoming events date end value for upcoming events lists using date parameters. -
mc_upcoming_events_footerReplace the list footer for upcoming events lists. Default value</ul></div>. -
mc_upcoming_events_headerReplace the list header for upcoming events lists. Default value<div class='mc-event-list-container'><ul id='upcoming-events-$hash' class='mc-event-list upcoming-events'$lang>. -
mc_upcoming_events_templatePass a custom template to the upcoming events list. Template can either be a template key referencing a stored template or a template pattern using {} template tags.
-
mc_custom_admin_panelsInject a sidebar panel in the My Calendar admin. Does not replace existing panels. -
mc_ignore_404_handlerIgnore the 404 handler that prevents access to dates outside of the calendar bounds. mc_modify_defaultmc_modify_default_cb-
mcs_submission_permissionsFilter user capability required to use the My Calendar Pro front-end submissions.
-
mc_autoclose_commentsFilter whether event posts should automatically close comments. Default 'true'. -
mc_event_access_slugFilter event access taxonomy slug. Default 'mc-event-access'. -
mc_event_category_slugFilter event category taxonomy slug. Default 'mc-event-category'. -
mc_event_exclude_from_searchShould My Calendar post types be excluded from search. Default false. -
mc_event_post_type_argsFilter post type arguments for My Calendar events (mc-events). -
mc_event_slugFilter default calendar post type slugs. Default 'mc-events' for events and 'mc-locations' for locations. -
mc_has_feedsEnable feeds for My Calendar post types. -
mc_location_access_slugFilter location access taxonomy slug. Default 'mc-location-access'. -
mc_location_exclude_from_searchShould location posts be excluded from search? Default true. -
mc_location_post_type_argsFilter post type arguments for My Calendar locations (mc-locations). -
mc_show_custom_posts_in_menuShould My Calendar post types be shown in admin menus. Default false.
-
mc_filter_price_arrayFilter My Tickets pricing array for a single ticket. -
mc_format_tribe_event_for_importFilter event to be inserted from Tribe. -
mc_import_tribe_tickets_optionsFilter My Tickets profile data before saving. -
mc_imported_event_tribeFilter imported event to customize what gets added to database. Return false to skip event. -
my_calendar_event_imported_from_tribePerform an action after an event has been imported from Tribe Events Calendar to My Calendar. -
my_calendar_instance_imported_from_tribePerform an action after an occurrence has been imported from Tribe Events Calendar to My Calendar.
mc_build_urlmc_build_url_root-
mc_modify_day_uriFilter the URI used to link days in the mini calendar. mc_use_embed_targetswpml_current_languagewpml_default_languagewpml_home_url
Replace the list footer for upcoming events lists. Default value </ul></div>.
add_filter(
'mc_upcoming_events_footer',
function( string $header ) {
// Your code here.
return $header;
}
);-
string$headerExisting upcoming events footer HTML.
string List header HTML.
apply_filters( 'mc_upcoming_events_footer', $footer )