Events Calendar for GeoDirectory 2.3.34 has 28 actions and 103 filters, read directly from its source code on Nov 18, 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 Events Calendar for GeoDirectory fires an action
add_action( 'geodir_event_handle_past_event_after', function( $post_ID, $status, $result ) {
// Your code runs here.
}, 10, 3 );
// Change a value Events Calendar for GeoDirectory is about to use
add_filter( 'geodir_before_default_custom_fields_saved', function( $fields ) {
// Change $fields here.
return $fields;
}, 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
-
geodir_before_default_custom_fields_saved
filter Used by 2 plugins → Copy link Customise this hook/** * Filter the array of default custom fields DB table data. */ apply_filters( 'geodir_before_default_custom_fields_saved', $fields ); -
/** * Filter the array of default sort fields DB table data. */ apply_filters( 'geodir_before_default_sort_fields_saved', $fields, $post_type ); -
/** * Filter the event field html by field type key. */ apply_filters( "geodir_custom_field_output_event_key_{$cf['field_type_key']}", $html, $location, $cf, $output, $gd_post ); -
/** * Filter the event field html by location. */ apply_filters( "geodir_custom_field_output_event_loc_{$location}", $html, $cf, $output, $gd_post ); -
/** * Filter the event field html by individual custom field. */ apply_filters( "geodir_custom_field_output_event_var_{$html_var}", $html, $location, $cf, $output, $gd_post ); -
/** * Filter event created schedules limit. */ apply_filters( 'geodir_event_allow_max_schedules', $max_schedules, $post_id ); -
/** * Filter event created schedules. */ apply_filters( 'geodir_event_create_schedules', $schedules, $post_id ); -
/** * Filter event date displayed in event title. */ apply_filters( 'geodir_event_date_in_title', $event_date_title, $event_post, $event_start_time, $event_end_time ); -
/** * Fires action after past event processed. */ do_action( 'geodir_event_handle_past_event_after', $post_ID, $status, $result ); -
/** * Fires action before past event processed. */ do_action( 'geodir_event_handle_past_event_before', $post_ID, $status ); -
/** * Filter post data to update past event post. */ apply_filters( 'geodir_event_handle_past_event_data', $post_data, $post_ID, $status ); -
/** * Check to process past event or not. */ apply_filters( 'geodir_event_handle_past_event_skip', false, $post_ID, $status ); -
/** * Fires action after past events processed. */ do_action( 'geodir_event_handle_past_events_after', $post_type ); -
/** * Fires action before past events processed. */ do_action( 'geodir_event_handle_past_events_before', $post_type ); -
/** * Remove date from recurring event schedule title. */ apply_filters( 'geodir_event_remove_title_recurring_date', $remove_date, $event_post ); -
/** * Filter REST API request get event type. */ apply_filters( 'geodir_event_rest_markers_event_type', $event_type, $request ); -
/** * Filter the event type query condition. */ apply_filters( 'geodir_event_type_query_filter', $filter, $event_type, $alias, $date ); -
/** * Filter event type query conditions. */ apply_filters( 'geodir_event_type_query_filters', $filters, $event_type, $alias, $date ); -
/** * Filter post type args. */ apply_filters( 'geodir_post_type_args', $args, $post_type ); -
/** * Filter the plugin locale. */ apply_filters( 'plugin_locale', $locale, 'geodirevents' ); -
/** * Fires after each specific row in the TGMPA Plugins list table. */ do_action( "tgmpa_after_plugin_row_{$item['slug']}", $item['slug'], $item, $this->view_context ); -
/** * By default TGMPA only loads on the WP back-end and not in an Ajax call. * Using this filter you can overrule that behaviour. */ apply_filters( 'tgmpa_load', ( is_admin() && ! defined( 'DOING_AJAX' ) ) ); -
/** * Filter a sanitized key string. */ apply_filters( 'tgmpa_sanitize_key', $key, $raw_key ); -
tgmpa_update_bulk_plugins_complete_actions
filter Used by 146 plugins → Copy link Customise this hook/** * Filter the list of action links available following bulk plugin * installs/updates. */ apply_filters( 'tgmpa_update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info ); -
/** * Fires when the bulk upgrader process is complete. */ do_action( 'upgrader_process_complete', $this, array( 'action' => 'install', 'type' => 'plugin', 'bulk' => true, 'plugins' => $plugins, ) ); -
apply_filters( 'geodir_event_aui_start_end_time_attrs', $timepicker_extras ); -
apply_filters( 'geodir_event_schedule_timezone_offset', '', $tz_offset, $_gd_post ); -
apply_filters( 'geodir_event_schedule_timezone_offset_html', $tz_offset_html, $format_timezone, $timezone_offset, $_gd_post ); -
apply_filters( 'geodir_event_search_form_output_event_dates', $html, $cf, $post_type ); -
apply_filters( 'geodir_event_search_form_output_main_event_dates', $html, $cf, $post_type ); -
apply_filters( 'geodir_event_type_filter_url', $url, $value ); -
do_action( 'geodir_flush_rewrite_rules' ); -
apply_filters( 'geodir_ayi_get_address_html_filter', $html, $post, $class ); -
apply_filters( 'geodir_event_admin_params', $params ); -
do_action( 'geodir_event_ayi_interested_updated', $rsvp_args['post_id'], $current_user->ID, $rsvp_args['type'], $rsvp_args['action'], $rsvp_args['gde'] ); -
do_action( 'geodir_event_before_init' ); -
apply_filters( 'geodir_event_cal_single_day_friday', $day_fri ); -
apply_filters( 'geodir_event_cal_single_day_monday', $day_mon ); -
apply_filters( 'geodir_event_cal_single_day_saturday', $day_sat ); -
apply_filters( 'geodir_event_cal_single_day_sunday', $day_sun ); -
apply_filters( 'geodir_event_cal_single_day_thursday', $day_thu ); -
apply_filters( 'geodir_event_cal_single_day_tuesday', $day_tue ); -
apply_filters( 'geodir_event_cal_single_day_wednesday', $day_wed ); -
apply_filters( 'geodir_event_calendar_extra_params', '' ); -
apply_filters( 'geodir_event_calendar_week_start_day', get_option( 'start_of_week' ) ); -
apply_filters( 'geodir_event_calendar_widget_add_location_filter', empty($instance['add_location_filter']) ? 0 : 1, $instance, $id_base ); -
apply_filters( 'geodir_event_calendar_widget_post_type_filter', empty( $instance['post_type'] ) ? 'gd_event' : $instance['post_type'], $instance, $id_base ); -
apply_filters( 'geodir_event_custom_field_input_event_event_dates', '', $field, $package_id ); -
apply_filters( 'geodir_event_custom_field_input_event_recurring', '', $field, $package_id ); -
apply_filters( 'geodir_event_date_format', $date_format ); -
apply_filters( 'geodir_event_date_time_format', $date_time_format ); -
apply_filters( 'geodir_event_date_time_separator', ', ' ); -
apply_filters( 'geodir_event_dates_cf_value', $event_data, $value, $cf, $gd_post ); -
do_action( 'geodir_event_deleted_schedules', $post_id, $post_type ); -
apply_filters( 'geodir_event_display_date_formats', $formats ); -
apply_filters( 'geodir_event_field_date_format', $date_format ); -
apply_filters( 'geodir_event_filter_options', $options, $post_type ); -
apply_filters( 'geodir_event_filter_schedule_handle_past_events', 'twicedaily' ); -
apply_filters( 'geodir_event_get_schedule_templates', $template ); -
apply_filters( 'geodir_event_get_schema_types', $schemas ); -
do_action( 'geodir_event_init' ); -
apply_filters( 'geodir_event_input_date_formats', $formats ); -
apply_filters( 'geodir_event_input_time_format', $time_format ); -
do_action( 'geodir_event_installed' ); -
apply_filters( 'geodir_event_is_recurring_active', $active ); -
do_action( 'geodir_event_manager_loaded' ); -
apply_filters( 'geodir_event_params', $params ); -
apply_filters( 'geodir_event_past_event_statuses', $statuses ); -
do_action( 'geodir_event_plugin_activated', $network_wide ); -
do_action( 'geodir_event_plugin_deactivated', $network_wide ); -
do_action( 'geodir_event_plugin_on_activate' ); -
do_action( 'geodir_event_plugin_on_deactivate' ); -
do_action( 'geodir_event_pt_events_supports_changed', $post_type, $current, $previous ); -
do_action( 'geodir_event_pt_events_supports_disabled', $post_type ); -
do_action( 'geodir_event_pt_events_supports_enabled', $post_type ); -
apply_filters( 'geodir_event_recurring_pkg', $recurring_pkg, $post, $package ); -
apply_filters( 'geodir_event_recurring_schedule_url', $schedule_url, $row->event_id, $row ); -
apply_filters( 'geodir_event_rss_item', $item, $post ); -
apply_filters( 'geodir_event_rsvp_no_of_users_to_display', 10 ); -
apply_filters( 'geodir_event_schedule_start_end_seperator', '<div class="geodir-schedule-sep '.$sep_class.'">-</div>' ); -
apply_filters( 'geodir_event_schedule_times', $event_time_array ); -
apply_filters( 'geodir_event_schema_offer_currency', 'USD', $gd_post, $schema ); -
apply_filters( 'geodir_event_schema_offer_price_fields', array( 'event_price', 'eventprice', 'event_cost', 'eventcost', 'price', 'cost', 'ticket_price', 'ticketprice' ), $gd_post, $schema ); -
apply_filters( 'geodir_event_schema_offers', $offers, $gd_post, $schema ); -
apply_filters( 'geodir_event_schema_organizer', $organizer, $gd_post, $schema ); -
apply_filters( 'geodir_event_schema_organizer_name_fields', $organizer_name_fields, $gd_post, $schema ); -
apply_filters( 'geodir_event_schema_organizer_url_fields', $organizer_url_fields, $gd_post, $schema ); -
apply_filters( 'geodir_event_schema_organizer_use_author_url', true, $gd_post, $schema ); -
apply_filters( 'geodir_event_schema_performer', $performer, $gd_post, $schema ); -
apply_filters( 'geodir_event_schema_performer_name_fields', $performer_name_fields, $gd_post, $schema ); -
apply_filters( 'geodir_event_schema_performer_url_fields', $performer_url_fields, $gd_post, $schema ); -
apply_filters( 'geodir_event_schema_performer_use_author', true, $gd_post, $schema ); -
apply_filters( 'geodir_event_settings_general_options', array( array( 'name' => __( 'Date Format', 'geodirevents' ), 'type' => 'title', 'desc' => '', 'id' => 'geodir_event_date_format_settings' ), array( 'type' => 'select', 'id' => 'event_field_date_format', 'name' => __( 'Input date format', 'geodirevents' ), 'desc' => __( 'Date format to use in the add event form.', 'geodirevents' ), 'default' => 'Y-m-d', 'placeholder' => __( 'Select', 'geodireven... ); -
apply_filters( 'geodir_event_time_format', $time_format ); -
apply_filters( 'geodir_event_time_increment', 15 ); -
apply_filters( 'geodir_event_type_title', $title, $event_type, $post_type ); -
do_action( 'geodir_event_updated' ); -
do_action( 'geodir_event_updater_cron' ); -
apply_filters( 'geodir_event_widget_schedule_html', $schedule_row, $row, $template, $date_format, $time_format, $timezone_offset ); -
apply_filters( 'geodir_event_widget_schedules_date_format', $instance['date_format'], $instance, $this->id_base ); -
apply_filters( 'geodir_event_widget_schedules_html', $html, $_schedules, $schedules, $template, $date_format, $time_format ); -
apply_filters( 'geodir_event_widget_schedules_id', absint( $instance['id'] ), $instance, $this->id_base ); -
apply_filters( 'geodir_event_widget_schedules_number', absint( $instance['number'] ), $instance, $this->id_base ); -
apply_filters( 'geodir_event_widget_schedules_parse_template', $content, $item, $schedule, $template, $date_format, $time_format ); -
apply_filters( 'geodir_event_widget_schedules_past', (int) $instance['show_past'] == 1, $instance, $this->id_base ); -
apply_filters( 'geodir_event_widget_schedules_show_current', (int) $instance['hide_current'] == 1, $instance, $this->id_base ); -
apply_filters( 'geodir_event_widget_schedules_template', $instance['template'], $instance, $this->id_base ); -
apply_filters( 'geodir_event_widget_schedules_time_format', $instance['time_format'], $instance, $this->id_base ); -
apply_filters( 'geodir_event_widget_schedules_type', $instance['type'], $instance, $this->id_base ); -
apply_filters( 'geodir_event_widget_schedules_use_current', (int) $instance['use_current'] == 1, $instance, $this->id_base ); -
apply_filters( 'geodir_event_yui_calendar_params', $params ); -
apply_filters( "geodir_get_sections_{$this->id}", $sections ); -
apply_filters( "geodir_get_settings_{$this->id}", $settings, $current_section ); -
apply_filters( 'geodir_rest_posts_order_sort_by_key', $sort_by, '', $post_type, $wp_query ); -
apply_filters( 'geodir_widget_post_type_field_options', $data, $post_type ); -
do_action( 'geodirectory_after_register_post_type' ); -
do_action( 'geodirectory_after_register_taxonomy' ); -
do_action( 'geodirectory_register_post_type' ); -
do_action( 'geodirectory_register_taxonomy' ); -
apply_filters( "tgmpa_{$prefix}plugin_action_links", array_filter( $action_links ), $item['slug'], $item, $this->view_context ); -
do_action_ref_array( 'tgmpa_init', array( $this ) ); -
apply_filters( 'tgmpa_notice_action_links', $action_links ); -
apply_filters( 'tgmpa_notice_rendered_action_links', $action_links ); -
do_action( 'tgmpa_register' ); -
apply_filters( 'tgmpa_show_admin_notice_capability', 'publish_posts' ); -
apply_filters( 'tgmpa_table_columns', $columns ); -
apply_filters( 'tgmpa_table_data_item', $table_data[ $i ], $plugin ); -
apply_filters( 'tgmpa_table_data_items', $this->_gather_plugin_data() ); -
apply_filters( 'widget_day', $week_start_day, $instance, $id_base ); -
apply_filters( 'widget_week_day_format', empty($instance['week_day_format']) ? 0 : $instance['week_day_format'], $instance, $id_base );
Generated from Events Calendar for GeoDirectory'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: