Car Rental Manager 1.5.9 has 46 actions and 26 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 Car Rental Manager fires an action
add_action( 'mpcrbm_native_booking_created', function( $booking_id, $meta ) {
// Your code runs here.
}, 10, 2 );
// Change a value Car Rental Manager is about to use
add_filter( 'mpcrbm_add_booking_data', function( $booking_meta, $car_id ) {
// Change $booking_meta here.
return $booking_meta;
}, 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 filter the WooCommerce flow applies, so integrations see both. */ apply_filters( 'mpcrbm_add_booking_data', $booking_meta, $car_id ); -
/** * Lets the Customers screen's block-list (MPCRBM_Customers) reject a booking * without this file needing to know how/where blocking is implemented — same * loose-coupling idiom as the 'mpcrbm_add_booking_data' filter just below. * Defaults to false (fails open) if that admin screen isn't loaded, so a * missing dependency never blocks a legitimate customer by accident. */ apply_filters( 'mpcrbm_is_customer_blocked', false, $email, $phone, get_current_user_id() ); -
/** * Fires once a booking is fully recorded (customer or admin created). */ do_action( 'mpcrbm_native_booking_created', $booking_id, $meta ); -
/** * After a booking's total and its breakdown on the Bookings list. */ do_action( 'mpcrbm_booking_list_total_after', $row ); -
/** * Filter: mpcrbm_payment_provider_counts Lets any code (addons, must-use * plugins, the Pro plugin itself) add or adjust provider counts used in the * total. */ apply_filters( 'mpcrbm_payment_provider_counts', $counts ); -
/** * Filters whether SecureHold can place deposit holds on this site. */ apply_filters( 'mpcrbm_securehold_can_hold', $ready, $stripe ); -
do_action( 'mpcrbm_load_date_picker_js', '#mpcrbm_start_date', $mpcrbm_all_dates ); -
do_action( 'mpcrbm_left_side_car_filter', $left_side_filter ); -
do_action( 'mpcrbm_transport_search', $params, $search_date ); -
do_action( 'mpcrbm_booking_item_after_feature', $post_id ); -
apply_filters( 'mpcrbm_native_booking_email_body', implode( "\n", $lines ), $booking_id, $meta ); -
apply_filters( 'mpcrbm_pro_upgrade_url', 'https://mage-people.com/product/car-rental-manager/' ); -
do_action( 'mpcrbm_replacement_customer_responded', $booking_id, 'accepted', '' ); -
do_action( 'mpcrbm_transport_search_form', $mpcrbm_post_id ); -
do_action( "activate_{$plugin_file}" ); -
do_action( 'activated_plugin', $plugin_file, false ); -
apply_filters( 'mpcrbm_add_cart_item', $cart_item_data, $post_id ); -
do_action( 'mpcrbm_add_icon_image', 'service_icon[]', $icon, $image ); -
do_action( 'mpcrbm_add_single_image', $name, $value ); -
do_action( 'mpcrbm_addon_list' ); -
do_action( 'mpcrbm_admin_enqueue' ); -
do_action( 'mpcrbm_admin_script' ); -
do_action( 'mpcrbm_after_cart_item_display', $cart_item, $post_id ); -
do_action( 'mpcrbm_after_details_page' ); -
do_action( 'mpcrbm_before_cart_item_display', $cart_item, $post_id ); -
apply_filters( 'mpcrbm_browse_vehicles_url', $url ); -
apply_filters( 'mpcrbm_calculate_price', $total_price, $post_id, $pickup_date_for_filter, array() ); -
do_action( 'mpcrbm_cart_item_display', $cart_item, $post_id ); -
do_action( 'mpcrbm_checkout_create_order_line_item', $item, $values ); -
do_action( 'mpcrbm_checkout_order_processed', $data ); -
do_action( 'mpcrbm_common_script' ); -
do_action( 'mpcrbm_content_tab_sections', $post_id ); -
apply_filters( 'mpcrbm_custom_payment_add_to_cart', '', $_POST ); -
apply_filters( 'mpcrbm_discount_email_body', implode( "\n", $lines ), $coupon ); -
apply_filters( 'mpcrbm_filter_description_array', $des ); -
apply_filters( 'mpcrbm_filter_extra_service_data', $new_extra_service, $post_id ); -
apply_filters( 'mpcrbm_filter_general_settings', array( array( 'name' => 'direct_book_status', 'label' => esc_html__('Pay on service Booked Status', 'car-rental-manager'), 'desc' => esc_html__('Please Select when and which order status service Will be Booked/Reduced in Pay on service.', 'car-rental-manager'), 'type' => 'select', 'default' => 'completed', 'options' => array( 'pending' => esc_html__('Pending', 'car-rental-manager'), 'completed'... ); -
apply_filters( 'mpcrbm_filter_global_settings', array( array( 'name' => 'set_book_status', 'label' => $label . ' ' . esc_html__('Seat Booked Status', 'car-rental-manager'), 'desc' => esc_html__('Please Select when and which order status Seat Will be Booked/Reduced.', 'car-rental-manager'), 'type' => 'multicheck', 'default' => array( 'processing' => 'processing', 'completed' => 'completed' ), 'options' => array( 'on-hold' => esc_html__('On Ho... ); -
apply_filters( 'mpcrbm_filter_style_settings', array( array( 'name' => 'theme_color', 'label' => esc_html__('Theme Color', 'car-rental-manager'), 'desc' => esc_html__('Select Default Theme Color', 'car-rental-manager'), 'type' => 'color', 'default' => '#F12971' ), array( 'name' => 'theme_alternate_color', 'label' => esc_html__('Theme Alternate Color', 'car-rental-manager'), 'desc' => esc_html__('Select Default Theme Alternate Color that mea... ); -
do_action( 'mpcrbm_frontend_enqueue' ); -
do_action( 'mpcrbm_frontend_script' ); -
apply_filters( 'mpcrbm_get_date', $all_dates, $post_id ); -
do_action( 'mpcrbm_global_enqueue' ); -
do_action( 'mpcrbm_license_page_plugin_list' ); -
do_action( 'mpcrbm_multi_location_tab_after_pricing', $post_id ); -
do_action( 'mpcrbm_operation_area_tab_after_content', $post_id ); -
do_action( 'mpcrbm_pricing_tab_after_seasonal', $post_id ); -
apply_filters( 'mpcrbm_settings_sec_fields', $settings_fields ); -
apply_filters( 'mpcrbm_settings_sec_reg', $sections ); -
do_action( 'mpcrbm_settings_tab_content', $post_id ); -
do_action( 'mpcrbm_shell_notices' ); -
apply_filters( 'mpcrbm_shell_screen_ids', self::SCREEN_IDS ); -
do_action( 'mpcrbm_show_cart_item', $cart_item, $post_id ); -
do_action( 'mpcrbm_single_page_after_wrapper' ); -
do_action( 'mpcrbm_single_page_before_wrapper' ); -
do_action( 'mpcrbm_status_notice_sec' ); -
do_action( 'mpcrbm_status_table_item_sec' ); -
do_action( 'mpcrbm_validate_cart_item', $values, $post_id ); -
apply_filters( 'mpcrbm_validate_coupon', null, $coupon_code, $email, $rental_amount, $car_id ); -
do_action( 'mpcrbm_woocommerce_before_single_product' ); -
do_action( "mpcrbm_wsa_form_bottom_{$form['id']}", $form ); -
do_action( "mpcrbm_wsa_form_bottom_{$section_id}", $section ); -
do_action( "mpcrbm_wsa_form_top_{$form['id']}", $form ); -
do_action( "mpcrbm_wsa_form_top_{$section_id}", $section ); -
apply_filters( 'woocommerce_add_to_cart_product_id', $link_id ); -
apply_filters( 'woocommerce_add_to_cart_validation', true, $product_id, $quantity ); -
apply_filters( 'woocommerce_payment_gateways', $wc_defaults ); -
do_action( "woocommerce_update_options_payment_gateways_{$gateway->id}" ); -
apply_filters( 'wpml_object_id', $post_id, MPCRBM_Function::get_cpt(), true, $default_language );
Generated from Car Rental 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: