0.00  View Cart
Filter File Description Arguments
easy_booking_start_text class-wceb-order.php, class-wceb-assets.php, class-wceb-cart.php, class-wceb-checkout.php, class-wceb-product-view.php, class-web-list-reports.php Overrides the “Start” text $text (string), $product (WC_Product object)
easy_booking_end_text class-wceb-order.php, class-wceb-assets.php, class-wceb-cart.php, class-wceb-checkout.php, class-wceb-product-view.php, class-web-list-reports.php Overrides the “End” text $text (string), $product (WC_Product object)
easy_booking_get_new_item_price class-wceb-ajax.php Returns price after selecting the dates (float) $booking_price, (WC_Product object) $product, (WC_Product or WC_Product_Variation object) $_Product, (string) $duration
easy_booking_get_new_grouped_item_price class-wceb-ajax.php Returns price after selecting the dates for grouped and bundled products (float) $child_booking_price, (WC_Product object) $product, (WC_Product object) $child, (string) $duration
easy_booking_fragments class-wceb-ajax.php Returns fragments after selecting the date(s) (array) $fragments
easy_booking_frontend_parameters class-wceb-assets.php Passes parameters to use on the frontend (array) $parameters
easy_booking_set_booking_price class-wceb-cart.php Returns the booking price set when adding a product to the cart (string) $booking_price, (array) $cart_item
easy_booking_loop_add_to_cart_link class-wceb-product-archive-view.php Returns the “Add to cart” button for bookable product (set as “Select date(s)” by default) (string) $link, (WC_Product) $product
easy_booking_information_text wceb-html-product-view.php, class-wceb-produt-view.php Adds an information text before the date(s) selection (string) $text, (WC_Product or WC_Product_Variation) $product
easy_booking_new_price_args class-wceb-product-view.php Passes extra arguments to the displayed booking price (array) $args
easy_booking_display_price class-wceb-product-view.php Overrides the booking price on the archive and product pages (displayed as “/ day” by default) (string) $content
easy_booking_reports_columns class-wceb-list-reports.php Adds additional columns on the “Reports” page (array) $columns
easy_booking_settings_capability class-wceb-settings.php, class-wceb-reports.php Overrides the default capability level to access the Easy Booking settings page (default to “manage_options”) (string) $capability
easy_booking_reports_tabs html-wceb-reports.php Adds additional tabs on the “Reports” page (array) $tabs
easy_booking_settings_tabs html-wceb-settings.php Adds additional tabs on the “Settings” page (array) $tabs
easy_booking_get_order_statuses woocommerce-easy-booking.php, wceb-functions.php Returns the order statuses to get the booked products from orders (used for reports) (array) $statuses
easy_booking_booked_reports wceb-functions.php Returns a booked product when getting all booked products (used for reports). Allows to pass extra data. (array) $data
easy_booking_get_price_html wceb-product-functions.php Returns the text added after the price of a bookable product (default “/day”, “/night”, “/week”, etc.) (string) $price_html, (WC_Product object) $product, (string) $booking_duration, (integer) $custom_duration