PlanIt Event Manager 1.0.17 has 15 actions and 67 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 PlanIt Event Manager fires an action
add_action( 'twec_after_event_save', function( $post_id, $args ) {
// Your code runs here.
}, 10, 2 );
// Change a value PlanIt Event Manager is about to use
add_filter( 'twec_admin_event_list_meta_query', function( $meta_query, $arg2 ) {
// Change $meta_query here.
return $meta_query;
}, 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
-
/** * Fires after PlanIt creates an event draft via REST or abilities. */ do_action( 'twec_after_event_save', $post_id, $args ); -
/** * Filter meta_query used for event start/end date filters on the admin events * list. */ apply_filters( 'twec_admin_event_list_meta_query', $meta_query, array( 'start_from' => $start_from, 'start_to' => $start_to, 'end_from' => $end_from, 'end_to' => $end_to, ) ); -
/** * Fires after bulk or automated publish prep is applied to an event. */ do_action( 'twec_after_publish_prep_applied', $post_id, $prep ); -
/** * Breadcrumb items for PlanIt (name + url) before JSON-LD. */ apply_filters( 'twec_breadcrumb_items', $items ); -
/** * Filter valid rotating public hashes for calendar AJAX when the WP nonce was * cached out. */ apply_filters( 'twec_calendar_ajax_public_hashes', array_unique( array_filter( $hashes ) ) ); -
/** * Filters whether a currency code uses zero decimal places (minor units = * major display amount). */ apply_filters( 'twec_currency_zero_decimal', in_array( $c, $defaults, true ), $c ); -
/** * Enable block editor command R&D (off by default). */ apply_filters( 'twec_experimental_editor_commands', false ); -
/** * Filters the row prior to insert. */ apply_filters( 'twec_payment_log_insert_data', $row, $session ); -
/** * Short-circuit insert (e.g. testing). */ apply_filters( 'twec_payment_log_should_insert', true, $event_id, $session ); -
/** * Filters the payment log table name (testing only). */ apply_filters( 'twec_payment_log_table', $wpdb->prefix . 'twec_payment_log' ); -
/** * Path to a writable NDJSON log file, or empty string to disable. */ apply_filters( 'twec_paypal_debug_log_path', '' ); -
/** * Fires after PlanIt registers core event abilities. */ do_action( 'twec_register_abilities' ); -
/** * Fires when PlanIt is ready to register block-editor / collaboration * integrations. The `twec-editor-commands` script is enqueued and localized * before this runs. */ do_action( 'twec_register_editor_commands' ); -
/** * Fires once a validated RSVP check-in succeeds. */ do_action( 'twec_rsvp_checkin_verified', $event_id, $email ); -
/** * Fires when an RSVP is promoted from waitlist into the confirmed attendee * list. */ do_action( 'twec_rsvp_promoted_from_waitlist', $event_id, $em, $nm ); -
/** * Fires after an RSVP is recorded. */ do_action( 'twec_rsvp_recorded', $event_id, $email, $name ); -
/** * Fires after an attendee is appended to the waitlist. */ do_action( 'twec_rsvp_waitlisted', $event_id, $email, $name ); -
/** * Fires after default OG/Twitter tags for a PlanIt event. */ do_action( 'twec_seo_event_social_meta', $event_id, $data ); -
/** * Add or replace candidate product IDs scanned for PlanIt pass meta on a Woo * line item. */ apply_filters( 'twec_series_pass_line_item_product_ids', $ids, $item, $product ); -
/** * Fires after Stripe confirms a featured listing payment for an event. */ do_action( 'twec_stripe_checkout_paid', $event_id, $session ); -
/** * Fires after a public event submission is stored (pending). */ do_action( 'twec_submission_created', (int) $post_id, $params ); -
/** * Fires when a WooCommerce order matched an event’s ticket product (after * payment completion or completion status). */ do_action( 'twec_woo_event_ticket_sold', $eid, $oid, (int) $cand, (int) $qty, $order, $item ); -
apply_filters( 'twec_manage_emails_cap', 'manage_options' ); -
apply_filters( 'widget_title', $instance['title'] ); -
do_action( 'twec_rsvp_cancelled', $event_id, $email, 'confirmed' ); -
apply_filters( 'twec_ability_create_event_draft_args', $in ); -
apply_filters( 'twec_manage_documentation_cap', 'manage_options' ); -
apply_filters( 'twec_manage_payment_log_cap', 'manage_options' ); -
apply_filters( 'twec_payment_log_store_raw_payload', false, 'stripe', $event_id ); -
apply_filters( 'twec_quick_add_allowed', current_user_can( $cap ) ); -
apply_filters( 'twec_quick_add_capability', 'edit_posts' ); -
apply_filters( 'twec_quick_add_show', true ); -
apply_filters( 'twec_recurring_max_instances', TWEC_RRule_Expand::MAX_INSTANCES, $post_id ); -
apply_filters( 'rss_update_frequency', '1' ); -
apply_filters( 'rss_update_period', 'hourly' ); -
do_action( 'rss2_ns' ); -
apply_filters( 'the_content', $event->post_content ); -
apply_filters( 'twec_ability_update_event_args', $in ); -
apply_filters( 'twec_ai_bulk_publish_prep_limit', 15 ); -
apply_filters( 'twec_ai_event_search_locale', get_locale(), $query, $days ); -
apply_filters( 'twec_ai_event_search_pool', $pool, $query, $days, $category ); -
apply_filters( 'twec_ai_public_query_events', $events, $query, $days ); -
apply_filters( 'twec_ai_public_query_locale', get_locale(), $query, $days ); -
apply_filters( 'twec_ai_use_temperature', null !== $temp, $temp, $schema, $prompt ); -
apply_filters( 'twec_block_editor_live_preview', true ); -
apply_filters( 'twec_breadcrumb_list_json_ld', $out, $raw ); -
apply_filters( 'twec_calendar_ajax_allow_public_hash', true ); -
apply_filters( 'twec_calendar_recurring_day_lookback_days', 370, $event->ID ); -
apply_filters( 'twec_compact_list_link_behavior', $link_behavior, $atts ); -
apply_filters( 'twec_event_json_ld', $json_ld, $post->ID, $data ); -
apply_filters( 'twec_event_metabox_max_height_vh', 50 ); -
apply_filters( 'twec_is_block_editor_preview_request', $is_preview ); -
apply_filters( 'twec_log_calendar_queries', defined( 'WP_DEBUG' ) && WP_DEBUG && defined( 'WP_DEBUG_LOG' ) && WP_DEBUG_LOG ); -
apply_filters( 'twec_payment_log_insert_data_paypal', $row, $resource ); -
apply_filters( 'twec_payment_log_should_insert_paypal', true, $event_id, $resource ); -
apply_filters( 'twec_payment_receipt_mail_args', $mail_args, $event_id, $session ); -
apply_filters( 'twec_payment_receipt_mail_args_paypal', $mail_args, $event_id, $resource ); -
apply_filters( 'twec_payment_shortcode_admin_hint_enabled', true, $shortcode_slug, $reason ); -
apply_filters( 'twec_payment_shortcode_admin_hint_message', $text, $shortcode_slug, $reason ); -
do_action( 'twec_paypal_capture_paid', $event_id, $resource ); -
apply_filters( 'twec_privacy_erase_events_per_page', 25 ); -
apply_filters( 'twec_privacy_erase_payment_log_rows', true, $email_address ); -
apply_filters( 'twec_privacy_erase_user_data', true, $email_address ); -
apply_filters( 'twec_privacy_export_events_per_page', 25 ); -
apply_filters( 'twec_privacy_export_payments_per_page', 50 ); -
apply_filters( 'twec_rsvp_checkin_rate_limit_per_minute', 60 ); -
apply_filters( 'twec_send_payment_receipt', true, (int) $event_id, $session ); -
apply_filters( 'twec_send_payment_receipt_paypal', true, (int) $event_id, $resource ); -
apply_filters( 'twec_seo_event_currency', 'USD', $event_id ); -
apply_filters( 'twec_seo_json_ld_graph', $graph, $event_id, $data ); -
apply_filters( 'twec_seo_organizer_organization', $out, $organizer_id, $event_id ); -
apply_filters( 'twec_seo_output_event_meta', true, $post ); -
apply_filters( 'twec_seo_site_organization', $out, $event_id ); -
apply_filters( 'twec_seo_venue_place', $place, $venue_id, $event_id ); -
apply_filters( 'twec_seo_virtual_event_url', $url, $event_id ); -
apply_filters( 'twec_series_pass_lock_events', false ); -
apply_filters( 'twec_ticket_pack_lock_events', false ); -
apply_filters( 'twec_use_compact_interactivity', true, $shortcode_atts ); -
apply_filters( 'twec_use_interactivity', true, $shortcode_atts ); -
apply_filters( 'twec_wc_ticket_add_to_cart_uses_cart_url', true ); -
apply_filters( 'twec_wc_ticket_buyer_contact_validation_messages', $errs, $data ); -
apply_filters( 'twec_wc_ticket_orders_scan_limit', 400 );
Generated from PlanIt Event Manager'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: