Multipurpose Ticket Booking Manager (Bus/Train/Ferry/Boat/Shuttle) 5.0.4 has 33 actions and 19 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 Multipurpose Ticket Booking Manager (Bus/Train/Ferry/Boat/Shuttle) fires an action
add_action( 'wbbm_offline_booking_confirmed', function( $ids, $summary ) {
// Your code runs here.
}, 10, 2 );
// Change a value Multipurpose Ticket Booking Manager (Bus/Train/Ferry/Boat/Shuttle) is about to use
add_filter( 'wbbm_embedded_checkout_use_canvas', function( $value, $template ) {
// 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
-
/** * Same extension seam the Offline flow fires on creation -- fired here on * confirmation instead, since a Stripe/PayPal booking isn't confirmed until * payment actually clears. */ do_action( 'wbbm_offline_booking_confirmed', $ids, $summary ); -
/** * Filters whether the drawer renders on the bare canvas. */ apply_filters( 'wbbm_embedded_checkout_use_canvas', true, $template ); -
/** * The UI only ever posts an outbound and a return. The cap is here because * `legs` arrives from the browser: without it a crafted request could ask the * server to price and insert an unbounded number of legs in one go. Filterable * so a future multi-city flow can raise it deliberately rather than by * accident. */ apply_filters( 'wbbm_max_booking_legs', 2 ); -
/** * Extension seam, mirroring how the WooCommerce path has its own set of hooks * to react to a completed order. Fired once per booking regardless of gateway * -- Stripe/PayPal fire it again indirectly via wbbm_offline_booking_confirmed * when payment is actually verified. */ do_action( 'wbbm_offline_booking_created', $inserted_ids, $summary ); -
/** * Let a theme render the route search form itself. */ apply_filters( 'wbbm_search_form_horizontal_html', '', $single_bus, sanitize_text_field($target) ); -
do_action( 'mage_multipurpose_reg' ); -
do_action( 'wbbm_woocommerce_before_single_product' ); -
do_action( 'mage_search_from_only', false, sanitize_text_field($target) ); -
do_action( 'wbbm_after_meta_box_tab_content', $post_id ); -
apply_filters( 'WBBM_FONTAWESOME_ARRAY', $fonts_arr ); -
apply_filters( 'WBBM_PAGES_IDS_ARRAY', $pages_array ); -
apply_filters( 'WBBM_POST_TYPES_ARRAY', $pages_array ); -
apply_filters( 'WBBM_POSTS_IDS_ARRAY', $posts_array ); -
do_action( 'wbbm_prevent_form_resubmission' ); -
do_action( "wbbm_repeatable_custom_input_field_{$type}", $field ); -
apply_filters( 'WBBM_SIDEBARS_ARRAY', $sidebars_name ); -
apply_filters( 'WBBM_THUMB_SIEZS_ARRAY', $get_intermediate_image_sizes ); -
apply_filters( 'WBBM_USER_IDS_ARRAY', $user_ids ); -
apply_filters( 'WBBM_USER_ROLES', $role_name ); -
woocommerce_adjust_non_base_location_prices
filter Used by 50 plugins → Copy link Customise this hookapply_filters( 'woocommerce_adjust_non_base_location_prices', true ); -
apply_filters( 'woocommerce_get_price_including_tax', $return_price, $qty, $product ); -
do_action( 'mage_next_date', false, true, $target ); -
do_action( 'wbbm_active_date', $single_bus, get_the_ID() ); -
do_action( 'wbbm_after_meta_box_tab_label' ); -
do_action( 'wbbm_after_single_bus' ); -
do_action( 'wbbm_before_add_cart_btn', get_the_ID() ); -
do_action( 'wbbm_before_single_product' ); -
do_action( 'wbbm_bus_configuration_item_deleted', $tab_key, $item_id ); -
do_action( 'wbbm_bus_configuration_item_saved', $tab_key, absint($result), $this->submitted, $item_id > 0 ); -
apply_filters( 'wbbm_bus_configuration_tabs', $tabs ); -
apply_filters( 'wbbm_bus_edit_page_capability', 'edit_posts' ); -
do_action( 'wbbm_custom_edit_page_save', $post_id ); -
do_action( "wbbm_form_bottom_{esc_attr($form['id'])}", $form ); -
do_action( "wbbm_form_top_{esc_attr($form['id'])}", $form ); -
do_action( 'wbbm_license_page_addon_list' ); -
do_action( 'wbbm_meta_box_tab_content', $post_id ); -
do_action( 'wbbm_meta_box_tab_label', $post_id ); -
do_action( 'wbbm_offline_booking_legs_created', $all_ids, $summary ); -
do_action( 'wbbm_partial_product_settings', $values ); -
do_action( 'wbbm_partial_settings_saved', $post_id ); -
apply_filters( 'wbbm_settings_sec_fields', $settings_fields ); -
apply_filters( 'wbbm_settings_sec_reg', $sections ); -
do_action( "wbbm_theme_settings_field_{$option['type']}", $option ); -
do_action( 'wbtm_add_settings_tab_content', $post->ID );
Generated from Multipurpose Ticket Booking Manager (Bus/Train/Ferry/Boat/Shuttle)'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: