Easy Booking 3.6.0 has 32 actions and 73 filters, read directly from its source code on Nov 23, 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 Easy Booking fires an action
add_action( 'easy_booking_add_order_item_booking_data', function( $item, $start, $end ) {
// Your code runs here.
}, 10, 3 );
// Change a value Easy Booking is about to use
add_filter( 'easy_booking_bookings_query_sources', function( $sources, $filters, $object ) {
// Change $sources here.
return $sources;
}, 10, 3 );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.
Changes by version
3.5.9 → 3.6.0 · Nov 23, 2026 · 0 added, 0 removed
No hooks were added or removed in this release.
All hooks
-
/** * Filter the database sources used to retrieve bookings. */ apply_filters( 'easy_booking_bookings_query_sources', $sources, $this->filters, $this ); -
/** * Filter the datepicker markup, including theme template overrides. */ apply_filters( 'easy_booking_single_product_html', $html, $product ); -
apply_filters( 'easy_booking_settings_capability', 'manage_options', 'easy-booking' ); -
apply_filters( 'easy_booking_price_html', $price . '<span class="wceb-price-format">' . esc_html( $suffix ) . '</span>', $product, $price ); -
apply_filters( 'easy_booking_display_status_completed', __( 'Completed', 'woocommerce-easy-booking-system' ) ); -
apply_filters( 'easy_booking_display_status_end', __( 'End', 'woocommerce-easy-booking-system' ) ); -
apply_filters( 'easy_booking_display_status_pending', __( 'Pending', 'woocommerce-easy-booking-system' ) ); -
apply_filters( 'easy_booking_display_status_processing', __( 'Processing', 'woocommerce-easy-booking-system' ) ); -
apply_filters( 'easy_booking_display_status_start', __( 'Start', 'woocommerce-easy-booking-system' ) ); -
apply_filters( 'easy_booking_end_text', __( 'End', 'woocommerce-easy-booking-system' ), $product ); -
apply_filters( 'easy_booking_start_text', __( 'Start', 'woocommerce-easy-booking-system' ), $product ); -
apply_filters( "easy_booking_{$dates}_price", $price * $data['duration'], $data['product'], $data['_product'], $data, $price_type ); -
apply_filters( 'easy_booking_add_cart_item_booking_data', $cart_item_meta, $booking_data[ $_product_id ] ); -
do_action( 'easy_booking_add_order_item_booking_data', $item, $start, $end ); -
apply_filters( 'easy_booking_add_to_cart_validation', $passed, $_product, $start, $end, $quantity ); -
do_action( "easy_booking_after_{$product_type}_booking_options", $product ); -
do_action( 'easy_booking_after_booking_options', $product ); -
do_action( 'easy_booking_after_booking_price', $product ); -
do_action( 'easy_booking_after_datepickers', $product ); -
do_action( 'easy_booking_after_init' ); -
do_action( 'easy_booking_after_reports_filters' ); -
do_action( 'easy_booking_after_reports_form' ); -
do_action( 'easy_booking_after_variation_booking_options', $loop, $variation ); -
apply_filters( 'easy_booking_allow_negative_qty_in_imports', false ); -
apply_filters( 'easy_booking_allowed_product_types', $allowed_types ); -
apply_filters( 'easy_booking_average_price_text', wc_price( $average_price ), $product, $average_price ); -
do_action( 'easy_booking_before_booking_details', $product ); -
do_action( 'easy_booking_before_booking_price', $product ); -
do_action( 'easy_booking_before_datepickers', $product ); -
do_action( 'easy_booking_before_order_booking_delete', $item_id, $booking ); -
do_action( 'easy_booking_before_order_booking_save', $booking, $item ); -
do_action( 'easy_booking_before_order_bookings_delete', $order_id, $bookings ); -
do_action( 'easy_booking_before_reports_filters' ); -
apply_filters( 'easy_booking_booked_product_ids', wceb_get_order_bookings_product_ids() ); -
apply_filters( 'easy_booking_booking_occupied_period', array( 'start' => $start, 'end' => $end, ), $this ); -
apply_filters( 'easy_booking_booking_price_details', $details, $product, $data ); -
apply_filters( 'easy_booking_bundle_product_booking_data', $booking_data, $data['product'], $data['children'] ); -
apply_filters( 'easy_booking_calculate_booking_price', true, $data['_product'] ); -
apply_filters( 'easy_booking_cart_item', $cart_item ); -
do_action( 'easy_booking_check_cart_item', $_product, $cart_item_key, $values ); -
apply_filters( 'easy_booking_display_average_price', false, $product->get_id() ); -
apply_filters( 'easy_booking_display_booking_duration', true, $product->get_id() ); -
apply_filters( 'easy_booking_display_item_meta', $meta_data, $item ); -
apply_filters( 'easy_booking_display_quantity', ! $product->is_type( 'grouped' ), $product->get_id() ); -
apply_filters( "easy_booking_display_status_{$display_status}", ucfirst( $display_status ) ); -
apply_filters( "easy_booking_display_status_{$status}", ucfirst( $status ) ); -
do_action( 'easy_booking_enqueue_additional_scripts', $products, $product_types ); -
apply_filters( 'easy_booking_fragments', $fragments, $booking_data, $booking_data[ $id ]['product'] ); -
apply_filters( 'easy_booking_frontend_parameters', $frontend_parameters ); -
apply_filters( "easy_booking_get_{$source}_bookings", $bookings, $filters ); -
apply_filters( 'easy_booking_get_bookings', $bookings, $filters ); -
apply_filters( 'easy_booking_get_order_statuses', array( 'wc-pending', 'wc-processing', 'wc-on-hold', 'wc-completed', 'wc-refunded', ) ); -
apply_filters_deprecated( 'easy_booking_get_price_html', array( $suffix, $_product, $booking_duration, $booking_duration ), '2.2.7', 'easy_booking_get_price_suffix' ); -
apply_filters( 'easy_booking_get_price_suffix', $suffix, $_product, $booking_duration, $booking_duration ); -
apply_filters( 'easy_booking_grouped_product_booking_data', $booking_data, $data['product'], $data['children'] ); -
do_action( 'easy_booking_load_report_scripts' ); -
apply_filters( 'easy_booking_load_template', $template, $path, $file ); -
apply_filters( 'easy_booking_loop_add_to_cart_link', sprintf( '<a href="%s" rel="nofollow" class="button">%s</a>', esc_url( get_permalink( $product->get_id() ) ), esc_html( $text ) ), $product, $text ); -
apply_filters( "easy_booking_new_{$price_type}", wc_format_decimal( $price ), $data, $data['product'], $data['_product'] ); -
apply_filters( "easy_booking_new_{$type}_to_display", $price, $_product_id, $data ); -
do_action( 'easy_booking_order_booking_deleted', $delete, $item_id, $booking ); -
do_action( 'easy_booking_order_booking_saved', $update, $booking, $item ); -
do_action( 'easy_booking_order_bookings_cleanup_deleted', $deleted, 0, $obsolete_bookings ); -
do_action( 'easy_booking_order_bookings_deleted', $delete, $order_id, $bookings ); -
apply_filters( 'easy_booking_order_bookings_product_ids', $product_ids ); -
apply_filters( 'easy_booking_pao_addon_cost', (float) $addon_cost, $duration, $multiply ); -
do_action( 'easy_booking_pro_page' ); -
apply_filters( 'easy_booking_product_booking_duration', $booking_duration, $_product ); -
apply_filters( 'easy_booking_product_first_available_date', $first_available_date, $_product ); -
apply_filters( 'easy_booking_product_is_bookable', $is_bookable, $_product ); -
apply_filters( 'easy_booking_product_last_available_date', $last_available_date, $_product ); -
apply_filters( 'easy_booking_product_maximum_booking_duration', $booking_max, $_product ); -
apply_filters( 'easy_booking_product_minimum_booking_duration', $booking_min, $_product ); -
apply_filters( 'easy_booking_product_number_of_dates_to_select', $number_of_dates, $_product ); -
apply_filters( 'easy_booking_quantity_text', absint( $data['quantity'] ), $product, $data['quantity'] ); -
apply_filters( 'easy_booking_query_bookings', $query, $this->filters ); -
do_action( "easy_booking_reports_{$current_tab}_tab" ); -
apply_filters( 'easy_booking_reports_columns', array( 'status' => esc_html__( 'Booking status', 'woocommerce-easy-booking-system' ), 'order_id' => esc_html__( 'Order', 'woocommerce' ), 'product' => esc_html__( 'Product', 'woocommerce' ), 'start_date' => esc_html( apply_filters( 'easy_booking_start_text', __( 'Start', 'woocommerce-easy-booking-system' ) ) ), 'end_date' => esc_html( apply_filters( 'easy_booking_end_text', __( 'End', 'woocomme... ); -
apply_filters( 'easy_booking_reports_custom_columns', array() ); -
apply_filters( 'easy_booking_reports_display_custom_column', isset( $item->$column_name ) ? $item->$column_name : '', $column_name, $item ); -
apply_filters( 'easy_booking_reports_sortable_columns', array( 'status' => array( 'status', true ), 'order_id' => array( 'order_id', true ), 'product' => array( 'product_id', true ), 'start_date' => array( 'start', false ), 'end_date' => array( 'end', false ), ) ); -
apply_filters( 'easy_booking_reports_tabs', array( 'bookings' => __( 'Bookings', 'woocommerce-easy-booking-system' ), 'calendar' => __( 'Calendar', 'woocommerce-easy-booking-system' ), ) ); -
apply_filters( 'easy_booking_sanitized_booking_data', array( 'id' => $id, 'product' => $product, '_product' => $_product, 'children' => $children, 'quantity' => $quantity, 'start' => $start, 'end' => $end, 'duration' => $duration, ), $data ); -
do_action( 'easy_booking_save_settings', array() ); -
apply_filters( 'easy_booking_script_dependencies', array( 'jquery', 'pickadate', 'wc-accounting' ) ); -
apply_filters( 'easy_booking_select_dates_error_message', $error_message, $product ); -
apply_filters( 'easy_booking_select_dates_text', __( 'Select date(s)', 'woocommerce-easy-booking-system' ), $product ); -
apply_filters( 'easy_booking_selected_booking_duration', $duration / $booking_duration, $start, $end, $_product ); -
apply_filters( 'easy_booking_selected_quantity', $data['quantity'] * $bundle_qty, $_product_id, $data ); -
apply_filters( 'easy_booking_set_booking_price', $cart_item['_booking_price'], $cart_item ); -
apply_filters( 'easy_booking_set_booking_regular_price', $cart_item['_booking_regular_price'], $cart_item ); -
do_action( "easy_booking_settings_{$current_tab}_tab" ); -
apply_filters( 'easy_booking_settings_tabs', array( 'general' => __( 'General ', 'woocommerce-easy-booking-system' ), 'appearance' => __( 'Appearance', 'woocommerce-easy-booking-system' ), 'statuses' => __( 'Booking statuses', 'woocommerce-easy-booking-system' ), ) ); -
apply_filters( 'easy_booking_simple_product_booking_data', $booking_data, $data['product'] ); -
apply_filters( 'easy_booking_single_product_script_dependencies', array( 'jquery', 'pickadate', 'wceb-datepickers' ), $product_type ); -
do_action( 'easy_booking_tools' ); -
apply_filters( 'easy_booking_total_booking_duration_text', absint( $duration ) . ' ' . esc_html( $unit ), $duration, $unit ); -
apply_filters( 'easy_booking_variable_product_booking_data', $booking_data, $data['product'], $data['_product'] ); -
do_action( "wceb_order_item_status_{$new_status}", $item_id ); -
wceb_order_item_status_changed_from_{$old_status}_to_{$new_status}
action Copy link Customise this hookdo_action( "wceb_order_item_status_changed_from_{$old_status}_to_{$new_status}", $item_id ); -
apply_filters( 'wceb_reports_booked_products', wceb_get_bookings( $filters ) ); -
do_action( 'wceb_update_booking_statuses' ); -
do_action( 'wceb_update_booking_statuses_event' ); -
woocommerce_product_addons_option_price_raw
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'woocommerce_product_addons_option_price_raw', $option_price, $option ); -
apply_filters( 'woocommerce_product_addons_price_raw', $addon_price, $addon );
Generated from Easy Booking'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: