EventHive 1.0.0 has 3 actions and 46 filters, read directly from its source code on Nov 19, 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 EventHive fires an action
add_action( 'eventhive_admin_settings_enqueue_assets', function( $hook_suffix ) {
// Your code runs here.
}, 10, 1 );
// Change a value EventHive is about to use
add_filter( 'eventhive_card_image_size', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );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
-
/** * Allows extensions to enqueue assets only for the EventHive settings page. */ do_action( 'eventhive_admin_settings_enqueue_assets', $hook_suffix ); -
/** * Filter the image size used for archive, shortcode, and related event cards. */ apply_filters( 'eventhive_card_image_size', 'eventhive-card' ); -
/** * Filters resource links shown on the EventHive Dashboard. */ apply_filters( 'eventhive_dashboard_resource_links', $links ); -
/** * Filter registered EventHive event type options. */ apply_filters( 'eventhive_event_type_options', $options ); -
/** * Allows extensions to register rewrite rules for active EventHive URL slug * definitions. */ do_action( 'eventhive_register_url_slug_rewrites', eventhive_get_active_rewrite_url_slug_definitions(), eventhive_get_url_slugs() ); -
/** * Filter EventHive settings */ apply_filters( 'eventhive_settings', $settings ); -
/** * Allows Pro promotional UI to be re-enabled from one admin-side gate later. */ apply_filters( 'eventhive_should_show_pro_promos', false ); -
/** * Filter the image size used for single event featured images. */ apply_filters( 'eventhive_single_image_size', 'eventhive-single' ); -
apply_filters( 'editable_slug', $term->slug, $term ); -
apply_filters( "bulk_actions-{$screen_id}", $this->get_bulk_actions() ); -
apply_filters( 'eventhive_active_layout', $saved ); -
do_action( 'eventhive_admin_notices' ); -
apply_filters( 'eventhive_allowed_admin_settings_html', $tags ); -
apply_filters( 'eventhive_allowed_html', $tags ); -
apply_filters( 'eventhive_allowed_theme_shell_html', $tags ); -
apply_filters( 'eventhive_archive_datetime_display_options', [ 'start_datetime' => __('Start date with time', 'eventhive'), 'start_date' => __('Start date only', 'eventhive'), 'start_end_datetime' => __('Start & End date with time', 'eventhive'), 'start_end_date' => __('Start & End date', 'eventhive'), ] ); -
apply_filters( 'eventhive_archive_page_title', $title, $context ); -
apply_filters( 'eventhive_container_width', $container_width ); -
apply_filters( 'eventhive_date_format_options', $options, $timestamp, $timezone ); -
apply_filters( 'eventhive_date_format_values', [ 'M d, Y', 'd M, Y', 'F d, Y', 'd F, Y', 'm/d/Y', 'd/m/Y', 'l, M d, Y', 'l, d M, Y', 'l, F d, Y', 'l, d F, Y', ] ); -
apply_filters( 'eventhive_default_settings', eventhive_get_settings_defaults_from_fields() ); -
apply_filters( 'eventhive_event_card_content_settings_contexts', ['archive', 'shortcode'] ); -
apply_filters( 'eventhive_event_card_datetime_display_contexts', ['archive', 'shortcode', 'related'] ); -
apply_filters( 'eventhive_event_card_summary_length', $default_length ); -
apply_filters( 'eventhive_event_card_summary_visibility_options', [ 'show' => __('Show', 'eventhive'), 'hide' => __('Hide', 'eventhive'), ] ); -
apply_filters( 'eventhive_event_order_direction_options', [ 'ASC' => __('Ascending', 'eventhive'), 'DESC' => __('Descending', 'eventhive'), ] ); -
apply_filters( 'eventhive_event_orderby_options', [ 'start_date' => __('Start Date', 'eventhive'), 'end_date' => __('End Date', 'eventhive'), ] ); -
apply_filters( 'eventhive_events_display_options', [ 'list' => __('List', 'eventhive'), 'grid' => __('Grid', 'eventhive'), ] ); -
apply_filters( 'eventhive_frontend_accent_color_mode_options', [ 'default' => __('Layout default', 'eventhive'), 'custom' => __('Custom', 'eventhive'), ] ); -
apply_filters( 'eventhive_frontend_font_color_mode_options', [ 'layout_default' => __('Layout default', 'eventhive'), 'custom' => __('Custom', 'eventhive'), ] ); -
apply_filters( 'eventhive_google_maps_setup_documentation_url', 'https://developers.google.com/maps/documentation/javascript/map-ids/get-map-id' ); -
apply_filters( 'eventhive_locate_template', $located, $template_name, $theme_template, $plugin_template ?? '' ); -
apply_filters( 'eventhive_migration_batch_size', EVENTHIVE_MIGRATION_BATCH_SIZE ); -
apply_filters( 'eventhive_public_pagination_max_page', $max_page ); -
apply_filters( 'eventhive_registered_layouts', $layouts ); -
apply_filters( 'eventhive_sanitize_setting_field', $sanitized, $value, $field, $previous_value, $is_submitted ); -
apply_filters( 'eventhive_sanitized_settings', $sanitized, $submitted_settings, $previous_settings, $fields ); -
apply_filters( 'eventhive_settings_fields', $fields ); -
apply_filters( 'eventhive_settings_sections', $sections ); -
apply_filters( 'eventhive_settings_tabs', $tabs ); -
apply_filters( 'eventhive_time_format_options', [ '12' => __('12-hour: 7:30 PM', 'eventhive'), '24' => __('24-hour: 19:30', 'eventhive'), ] ); -
apply_filters( 'eventhive_timezone_recalculation_batch_size', EVENTHIVE_TIMEZONE_RECALCULATION_BATCH_SIZE ); -
apply_filters( 'eventhive_timezone_recalculation_candidate_post_statuses', [ 'publish', 'future', 'draft', 'pending', 'private', ] ); -
apply_filters( 'eventhive_typography_base_font_size_mode_options', [ 'eventhive_default' => __('EventHive Default', 'eventhive'), 'custom' => __('Custom Size', 'eventhive'), ] ); -
apply_filters( 'eventhive_typography_font_family_mode_options', [ 'inherit' => __('Inherit from theme', 'eventhive'), 'custom' => __('Custom', 'eventhive'), ] ); -
apply_filters( 'eventhive_typography_font_options', [ 'system_sans' => [ 'label' => __('System Sans', 'eventhive'), 'font_family' => 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif', ], 'inter' => [ 'label' => __('Inter', 'eventhive'), 'font_family' => '"Inter", sans-serif', 'google' => 'Inter', ], 'roboto' => [ 'label' => __('Roboto', 'eventhive'), 'font_family' => '"Roboto", sans-serif', 'google' => 'Roboto', ], 'open_san... ); -
apply_filters( 'eventhive_url_slug_definitions', $definitions ); -
apply_filters( 'eventhive_validate_setting_field', true, $value, $field, $previous_value, $is_submitted ); -
apply_filters( 'eventhive_week_start_options', [ 'wordpress' => __('WordPress Default', 'eventhive'), '0' => __('Sunday', 'eventhive'), '1' => __('Monday', 'eventhive'), '2' => __('Tuesday', 'eventhive'), '3' => __('Wednesday', 'eventhive'), '4' => __('Thursday', 'eventhive'), '5' => __('Friday', 'eventhive'), '6' => __('Saturday', 'eventhive'), ] );
Generated from EventHive's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: