Bike Rental by BestWebSoft 1.0.2 has 82 actions and 86 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 Bike Rental by BestWebSoft fires an action
add_action( 'bws_bkng_after_content_none', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Bike Rental by BestWebSoft is about to use
add_filter( 'bws_bkng_force_content_filters_init', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );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
-
/** * action - Display custom options on the Import / Export' tab */ do_action( "{__CLASS__}_additional_import_export_options" ); -
/** * action - Display custom options on the Import / Export' tab */ do_action( "{__CLASS__}_additional_import_export_options_affected" ); -
/** * action - Display custom options on the Import / Export' tab */ do_action( "{__CLASS__}_additional_misc_options" ); -
/** * action - Display custom options on the 'misc' tab */ do_action( "{__CLASS__}_additional_misc_options_affected" ); -
/** * filter - Change default_options array OR process custom functions */ apply_filters( "{__CLASS__}_additional_restore_options", $this->default_options ); -
/** * action - Display custom error\message\notice */ do_action( "{__CLASS__}_display_custom_messages", $save_results ); -
/** * action - Display custom metabox */ do_action( "{__CLASS__}_display_metabox" ); -
/** * action - Display additional content for #postbox-container-2 */ do_action( "{__CLASS__}_display_second_postbox" ); -
/** * action - Display additional content for #misc-publishing-actions */ do_action( "{__CLASS__}_information_postbox_bottom" ); -
/** * action - Display additional content for #misc-publishing-actions */ do_action( "{__CLASS__}_information_postbox_top" ); -
/** * Filter to change the default tab content */ apply_filters( "bws_bkng_{$tab}_tab_content", call_user_func( $data['callback'] ) ); -
/** * Filters won't be added if there isn't the plugin page or the custom theme * page template is used to display content. */ apply_filters( 'bws_bkng_force_content_filters_init', false ); -
/** * The filter may be used in order the re-locate the templates folder from * another one (3rd party plugin folder, etc) */ apply_filters( 'bws_bkng_get_template_part', "bws-templates/{$template_name}" ); -
/** * Commented due to the fact that the functionality of such pages is not over * yet. */ apply_filters( 'bws_bkng_is_booking_page', false, $post ); -
/** * Hook allows to register new shortcodes and function of its processing */ apply_filters( 'bws_bkng_mail_shortcodes', array() ); -
/** * This hook is should to be used in the functional entities that keep their * data in the session storage {eg @see the BWS_BKNG_Cart class definition} */ apply_filters( 'bws_bkng_merge_storage', $db_data, $cookie_data, $key ); -
/** * Is used to change the total cost of order including taxes, sales, etc */ apply_filters( 'bws_bkng_order_total', $subtotal, $products ); -
/** * This filter is documented in wp-admin/custom-header.php */ apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); -
apply_filters( 'bws_bkng_prevent_demo_loading', false ); -
apply_filters( 'widget_title', $instance['widget_title'], $instance, $this->id_base ); -
do_action( 'bws_bkng_after_content_none' ); -
do_action( 'bws_bkng_before_checkout_form', $billing_data, $errors ); -
do_action( 'bws_bkng_checkout_form_after_contact_info' ); -
do_action( 'bws_bkng_checkout_form_before_submit_button', $billing_data, $errors ); -
apply_filters( 'bws_bkng_order_content', $data ); -
apply_filters( 'bws_bkng_order_table_columns', $columns ); -
apply_filters( 'bws_bkng_order_table_data', $data ); -
apply_filters( 'redirect_term_location', $location, $this->taxonomy ); -
do_action_ref_array( "{__CLASS__}_after_tab_{$tab_slug}", array( &$this ) ); -
apply_filters( 'bkng_get_session_lifetime', 14, $key ); -
do_action( 'bws_bkkng_after_product_links' ); -
do_action( 'bws_bkkng_before_product_links' ); -
apply_filters( "bws_bkng_{$key}_content_before_save", $data ); -
apply_filters( "bws_bkng_{$taxonomy_name}", $taxonomy_args ); -
apply_filters( "bws_bkng_{$type}_relation", 'AND' ); -
apply_filters( 'bws_bkng_admin_pages', $bws_admin_menu_pages ); -
do_action( 'bws_bkng_after_agencies_list' ); -
do_action( 'bws_bkng_after_agency', $agency ); -
do_action( 'bws_bkng_after_agency_thumbnail', $agency ); -
do_action( 'bws_bkng_after_agency_title' ); -
do_action( 'bws_bkng_after_billing_details' ); -
do_action( 'bws_bkng_after_cart_form' ); -
do_action( 'bws_bkng_after_categories_list' ); -
do_action( 'bws_bkng_after_checkout_form', $billing_data, $errors ); -
do_action( 'bws_bkng_after_extras_list' ); -
do_action( 'bws_bkng_after_gallery' ); -
do_action( 'bws_bkng_after_meta', $meta ); -
do_action( 'bws_bkng_after_order' ); -
do_action( 'bws_bkng_after_order_placed', $order_id, $this->content, $this->billing_data ); -
do_action( 'bws_bkng_after_order_table', $this->data ); -
do_action( 'bws_bkng_after_personal_info', $billing_data ); -
do_action( 'bws_bkng_after_pre_order' ); -
apply_filters( 'bws_bkng_after_price', '' ); -
do_action( 'bws_bkng_after_price' ); -
do_action( 'bws_bkng_after_products_list' ); -
do_action( 'bws_bkng_after_search_products' ); -
do_action( 'bws_bkng_after_template', $template_name ); -
do_action( 'bws_bkng_after_toolbar' ); -
do_action( 'bws_bkng_after_user_creation', $this->billing_data ); -
apply_filters( 'bws_bkng_agencies_class', $classes ); -
apply_filters( 'bws_bkng_agencies_meta_fields', array( 'location' => __( 'Location', BWS_BKNG_TEXT_DOMAIN ), 'phone' => __( 'Phone', BWS_BKNG_TEXT_DOMAIN ), 'working_hours' => __( 'Working Hours', BWS_BKNG_TEXT_DOMAIN ), 'featured_image' => __( 'Featured Image', BWS_BKNG_TEXT_DOMAIN ), 'image_gallery' => __( 'Gallery', BWS_BKNG_TEXT_DOMAIN ) ) ); -
apply_filters( 'bws_bkng_agency_class', $classes ); -
apply_filters( 'bws_bkng_args_filter', $post_args, $post_type ); -
do_action( 'bws_bkng_before_agencies_list' ); -
do_action( 'bws_bkng_before_agency', $agency ); -
do_action( 'bws_bkng_before_agency_thumbnail', $agency ); -
do_action( 'bws_bkng_before_agency_title' ); -
do_action( 'bws_bkng_before_billing_details' ); -
do_action( 'bws_bkng_before_cart_form' ); -
do_action( 'bws_bkng_before_categories_list' ); -
do_action( 'bws_bkng_before_extras_list' ); -
do_action( 'bws_bkng_before_gallery' ); -
do_action( 'bws_bkng_before_meta', $meta ); -
do_action( 'bws_bkng_before_order' ); -
do_action( 'bws_bkng_before_order_table', $this->data ); -
do_action( 'bws_bkng_before_post_tabs_variations', $current_id ); -
do_action( 'bws_bkng_before_pre_order' ); -
apply_filters( 'bws_bkng_before_price', '' ); -
do_action( 'bws_bkng_before_price' ); -
do_action( 'bws_bkng_before_products_list' ); -
do_action( 'bws_bkng_before_search_products' ); -
do_action( 'bws_bkng_before_template', $template_name ); -
do_action( 'bws_bkng_before_toolbar' ); -
apply_filters( 'bws_bkng_billing_data', $this->billing_data ); -
apply_filters( 'bws_bkng_booking_pages', array( 'products', 'checkout', 'thank_you', 'agencies', ) ); -
apply_filters( 'bws_bkng_cart_before_save', $this->content ); -
apply_filters( 'bws_bkng_cart_content_merged', $this->content, $db_data, $cookie_data ); -
apply_filters( 'bws_bkng_cart_errors', '', $code ); -
apply_filters( 'bws_bkng_categories_list_placeholder', __( 'Select Category', BWS_BKNG_TEXT_DOMAIN ) ); -
apply_filters( 'bws_bkng_category_class', $classes ); -
apply_filters( 'bws_bkng_check_billing_data', true, $this->billing_data ); -
do_action( 'bws_bkng_checkout_bike-rental' ); -
do_action( 'bws_bkng_checkout_form_after_additional_info', $billing_data, $errors ); -
do_action( 'bws_bkng_checkout_form_after_personal_info', $billing_data, $errors ); -
do_action( 'bws_bkng_checkout_form_start', $billing_data, $errors ); -
do_action( "bws_bkng_content_filter_{$page}", $this::$instance ); -
apply_filters( 'bws_bkng_datepicker_data', $args ); -
apply_filters( 'bws_bkng_default_image_src', plugins_url( 'images/no-image.png', dirname( dirname( __FILE__ ) ) ) ); -
apply_filters( 'bws_bkng_default_options', $this->load( 'default_settings' ) ); -
do_action( 'bws_bkng_default_options_installed', $default_options ); -
apply_filters( 'bws_bkng_default_range_max', 1000, 'price' ); -
apply_filters( 'bws_bkng_default_range_min', 0, 'price' ); -
apply_filters( 'bws_bkng_demo_error', '', $code ); -
apply_filters( 'bws_bkng_display_categories_as_form', true ); -
do_action( 'bws_bkng_empty_cart' ); -
apply_filters( 'bws_bkng_errors', '', $type ); -
apply_filters( 'bws_bkng_fancybox_options', array() ); -
apply_filters( 'bws_bkng_hide_empty_categories', true ); -
apply_filters( 'bws_bkng_mail_errors', '', $code ); -
apply_filters( 'bws_bkng_messages', $messages ); -
apply_filters( 'bws_bkng_meta_field', '', $field ); -
apply_filters( 'bws_bkng_meta_tabs', $default_tabs ); -
apply_filters( 'bws_bkng_meta_types', array( 'select' => __( 'Drop Down List', BWS_BKNG_TEXT_DOMAIN ), 'select_checkboxes' => __( 'List with Checkboxes', BWS_BKNG_TEXT_DOMAIN ), 'select_radio' => __( 'List with Radioboxes', BWS_BKNG_TEXT_DOMAIN ), 'select_locations' => __( 'List of Locations', BWS_BKNG_TEXT_DOMAIN ), 'location' => __( 'Single Location', BWS_BKNG_TEXT_DOMAIN ), 'number' => __( 'Number', BWS_BKNG_TEXT_DOMAIN ), 'numb... ); -
do_action( 'bws_bkng_no_gallery' ); -
do_action( 'bws_bkng_no_meta' ); -
do_action( 'bws_bkng_no_order' ); -
do_action( 'bws_bkng_no_price_notice' ); -
do_action( 'bws_bkng_no_template', $template_name ); -
apply_filters( 'bws_bkng_order_errors', '', $code ); -
apply_filters( 'bws_bkng_order_fields', array( 'price' => __( 'Price', BWS_BKNG_TEXT_DOMAIN ), 'date' => __( 'Date', BWS_BKNG_TEXT_DOMAIN ), 'title' => __( 'Title', BWS_BKNG_TEXT_DOMAIN ) ) ); -
apply_filters( 'bws_bkng_order_meta', $order_meta, $order_id, $this->content, $this->billing_data ); -
apply_filters( 'bws_bkng_order_pattern', '<p>'. __( 'Order number', BWS_BKNG_TEXT_DOMAIN ) . ': <strong>{order_number}</strong> '. __( 'from', BWS_BKNG_TEXT_DOMAIN ) . ' <strong>{order_date}</strong>.</p> <p>'. __( 'Order status', BWS_BKNG_TEXT_DOMAIN ) . ': <strong>{order_status}</strong>.</p> <p>'. __( 'Pick-up drop-off dates', BWS_BKNG_TEXT_DOMAIN ) . ': <strong>{rent_interval}</strong>.</p> <p>'. __( 'Ordered products', BWS_BKNG_T... ); -
apply_filters( 'bws_bkng_order_statuses', array( 'on_hold' => __( 'On hold', BWS_BKNG_TEXT_DOMAIN ), 'processed' => __( 'Processed', BWS_BKNG_TEXT_DOMAIN ), 'completed' => __( 'Completed', BWS_BKNG_TEXT_DOMAIN ), 'canceled' => __( 'Canceled', BWS_BKNG_TEXT_DOMAIN ) ) ); -
apply_filters( 'bws_bkng_order_subtotal', $subtotal, $products ); -
do_action( 'bws_bkng_order_table_column', $column, $item ); -
apply_filters( 'bws_bkng_order_table_style', $$style, $style ); -
apply_filters( 'bws_bkng_page', '', $template ); -
apply_filters( 'bws_bkng_phone_pattern', '/^[\+]{0,1}\d{0,1}[\s\-]{0,1}\d{0,1}[\s\-]{0,1}[[\(\s-]{0,2}\d{1,4}[\)\s-]{0,2}]{0,1}\d{1,3}[\s-]{0,1}\d{1,3}[\s-]{0,1}\d{1,3}$/i' ); -
apply_filters( 'bws_bkng_product_class', $classes ); -
apply_filters( 'bws_bkng_product_price', $price, $post ); -
apply_filters( 'bws_bkng_product_subtotal', $subtotal, $args, $product_id ); -
apply_filters( 'bws_bkng_product_total', $subtotal, $this->product_id ); -
apply_filters( 'bws_bkng_products_list_class', $classes ); -
apply_filters( 'bws_bkng_query_args', $this->query_args ); -
apply_filters( 'bws_bkng_remove_query_vars', array( 'page_id', 'page', 'pagename' ) ); -
apply_filters( 'bws_bkng_replace_mail_shortcode', $content, $shortcode[1], $this->mail_data, $order_data ); -
apply_filters( 'bws_bkng_required_bilings_fields', array( 'user_firstname', 'user_lastname', 'user_email', 'user_confirm_email' ) ); -
do_action( 'bws_bkng_search_filter_after' ); -
do_action( 'bws_bkng_search_filter_before' ); -
do_action( 'bws_bkng_search_products_after_items' ); -
do_action( 'bws_bkng_search_products_before_items' ); -
apply_filters( 'bws_bkng_select_as_list', false ); -
apply_filters( 'bws_bkng_send_new_order_notes', true ); -
apply_filters( 'bws_bkng_session_keys', array( 'cart' ) ); -
apply_filters( 'bws_bkng_short_week_days', true ); -
do_action( 'bws_bkng_single_order_bkng_additional_data', $order_data ); -
do_action( 'bws_bkng_single_order_customers_details_after', $order_data ); -
do_action( 'bws_bkng_single_order_customers_details_before', $order_data ); -
do_action( 'bws_bkng_single_order_details_after', $order_data ); -
do_action( 'bws_bkng_single_order_details_before', $order_data ); -
apply_filters( 'bws_bkng_template_parts', $templates, $this->page ); -
do_action( 'bws_bkng_term_save_meta', compact( 'field', 'term_id', 'tt_id', 'tax_slug' ) ); -
apply_filters( 'bws_bkng_time_pattern', '/^(0{0,1}\d|1\d|2[0-3])[\s]?:[\s]?[0-5]\d(([\s]?:[\s]?[0-5]\d)|([\s]?(am|pm)))?$/i' ); -
apply_filters( 'bws_bkng_trees', array() ); -
apply_filters( 'bws_bkng_update_options', $options ); -
apply_filters( 'bws_bkng_update_order_result', true, $this->content ); -
do_action( 'bws_bkng_update_user_data', $this->billing_data ); -
apply_filters( 'bws_shortcode_button_content', '' ); -
apply_filters( 'cptch_display', '', BWS_BKNG_TEXT_DOMAIN ); -
apply_filters( 'cptch_verify', true, 'string', BWS_BKNG_TEXT_DOMAIN ); -
apply_filters( 'date_formats', array( 'F j, Y', 'Y-m-d', 'm/d/Y', 'd/m/Y' ) ); -
apply_filters( 'the_content', $parent->post_content ); -
apply_filters( 'time_formats', array( 'g:i a', 'g:i A', 'H:i' ) ); -
apply_filters( 'widget_product_button_link', $instance['widget_product_button_link'], $instance, $this->id_base ); -
apply_filters( 'widget_product_button_text', $instance['widget_product_button_text'], $instance, $this->id_base ); -
apply_filters( 'widget_product_count_display', $instance['widget_product_count_display'], $instance, $this->id_base ); -
apply_filters( 'wp_header_image_attachment_metadata', $metadata );
Generated from Bike Rental by BestWebSoft'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: