MotoPress Hotel Booking 6.5.0 has 346 actions and 271 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 MotoPress Hotel Booking fires an action
add_action( 'mphb_before_submit_payment', function( $payment, $booking, $requestArgs ) {
// Your code runs here.
}, 10, 3 );
// Change a value MotoPress Hotel Booking is about to use
add_filter( 'mphb_tmpl_the_room_type_price_for_dates', function( $format_price, $taxesAndFees, $arg3, $price ) {
// Change $format_price here.
return $format_price;
}, 10, 4 );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
6.4.0 → 6.5.0 · Nov 18, 2026 · 3 added, 0 removed
Added
- action
mphb_enqueue_admin_dashboard_assets - filter
mphb_dashboard_disabled_widgets - filter
mphb_dashboard_widgets
All hooks
-
/** * This filter is documented in template-functions.php * */ apply_filters( 'mphb_tmpl_the_room_type_price_for_dates', mphb_format_price( $price ), $taxesAndFees, array(), $price ); -
/** * Filter the data for a response. */ apply_filters( "mphb_rest_prepare_{$this->post_type}", $response, $object, $request ); -
/** * Filter the query arguments for a request. */ apply_filters( "mphb_rest_{$this->post_type}_query", $args, $request ); -
/** * Fires after a single item is created or updated via the REST API. */ do_action( "mphb_rest_insert_{$this->post_type}", $object, $request, true ); -
/** * Fires after a single term is created or updated via the REST API. */ do_action( "mphb_rest_insert_{$this->taxonomy}", $term, $request, true ); -
/** * Filter the data for the insert. */ apply_filters( "mphb_rest_pre_insert_{$this->post_type}", $this->data, $request ); -
/** * Filter the allowed 'private' query vars for authorized users. */ apply_filters( 'mphb_rest_private_query_vars', $wp->private_query_vars ); -
/** * Filter the query_vars used in `get_items` for the constructed query. */ apply_filters( "mphb_rest_query_var-{$var}", $prepared_args[ $var ] ); -
/** * Filter allowed query vars for the REST API. */ apply_filters( 'mphb_rest_query_vars', $valid_vars ); -
/** * Filter the publicly allowed query vars. */ apply_filters( 'query_vars', $wp->public_query_vars ); -
/** * Filters the post edit link. */ apply_filters( 'get_edit_post_link', $link, $post->ID, $context ); -
/** * Filters the meta query's generated SQL. */ apply_filters_ref_array( 'get_meta_sql', array( $sql, $this->queries, $type, $primary_table, $primary_id_column, $context, ) ); -
/** * Filters the table alias identified as compatible with the current clause. */ apply_filters( 'meta_query_find_compatible_table_alias', $alias, $clause, $parent_query, $this ); -
/** * Used by Payment Request to set up request. */ do_action( 'mphb_before_submit_payment', $payment, $booking, $requestArgs ); -
/** * The filter is deprecated. Use new action instead: "{$groupName}_fields". */ apply_filters( 'mphb_custom_group_fields', array(), $groupName ); -
/** * PriceLabs Integration uses this hook to replace custom prices with its own * data. */ apply_filters( 'mphb_get_rate_custom_prices', $prices, $rateId, $startDate, $endDate ); -
/** * Not all rates have the "mphb_rate" post type. */ apply_filters( 'mphb_rate_query_post_type', $this->post_type ); -
/** * Triggs when user clicks button. */ do_action( 'mphb_resend_confirm', $booking ); -
/** * Filter whether an item is trashable. */ apply_filters( "mphb_rest_{$this->post_type}_trashable", $supports_trash, $post ); -
/** * Filter the query arguments, before passing them to `get_terms()`. */ apply_filters( "mphb_rest_{$this->taxonomy}_query", $prepared_args, $request ); -
/** * Fires after a single item is deleted or trashed via the REST API. */ do_action( "mphb_rest_delete_{$this->post_type}", $post, $response, $request ); -
/** * Fires after a single term is deleted via the REST API. */ do_action( "mphb_rest_delete_{$this->taxonomy}", $term, $response, $request ); -
/** * Filter a term item returned from the API. */ apply_filters( "mphb_rest_prepare_{$this->taxonomy}", $response, $item, $request ); -
/** * phpcs:ignore */ do_action( 'mphb_sc_after_group_availability_calendar' ); -
/** * Payments that need to be suspended and not added to the GatewayManager. */ apply_filters( 'mphb_suspend_payments', array() ); -
do_action( 'mphb_focus_on_booking', $booking ); -
apply_filters( 'mphb_translate_string', $optionValue, $optionName ); -
apply_filters( '_mphb_translate_post_id', $reservedRoom->getRoomTypeId(), $language ); -
apply_filters( 'wpml_current_language', null ); -
apply_filters( 'wpml_permalink', MPHB()->userActions()->getBookingCancellationAction()->generateLink( $this->booking ), apply_filters( 'wpml_current_language', null ) ); -
apply_filters( '_mphb_translate_room_type', $roomType, $this->booking->getLanguage() ); -
apply_filters( 'mphb_search_available_rooms', array( 'availability' => 'free', 'from_date' => $checkInDate, 'to_date' => $checkOutDate, 'room_type_id' => $roomType->getOriginalId(), 'exclude_rooms' => $lockedRooms, 'skip_buffer_rules' => false, ) ); -
apply_filters( 'mphb_use_google_hotels', true ); -
do_action( 'mphb_focus_on_payment', $payment ); -
apply_filters( 'mphb_is_current_request_for_admin_ui', false ); -
apply_filters( 'mphb_room_type_categories_delimiter', ', ' ); -
apply_filters( 'mphb_room_type_facilities_delimiter', ', ' ); -
apply_filters( 'mphb_room_type_user_attributes_delimiter', ', ' ); -
apply_filters( "{$metaboxSlug}_enabled", $isEnabled ); -
apply_filters( "{$this->identifier}_cron_interval", 5 ); -
apply_filters( 'https_local_ssl_verify', false ); -
apply_filters( 'mphb_api_key_last_access_datetime', $date, $key['last_access'] ); -
do_action( 'mphb_block_deleted', $block ); -
do_action( 'mphb_blocks_deleted', $blocks ); -
apply_filters( 'mphb_checkout_already_booked_message', __( 'Accommodation is already booked.', 'motopress-hotel-booking' ) ); -
apply_filters( 'mphb_checkout_form_enctype_data', '' ); -
apply_filters( 'mphb_checkout_payment_details', $paymentDetails ); -
apply_filters( 'mphb_loop_room_type_gallery_main_slider_wrapper_class', 'mphb-gallery-main-slider mphb-flexslider-gallery-wrapper mphb-room-type-gallery-wrapper ' . $sliderUniqueClass ); -
apply_filters( 'mphb_multisite_limit', 100 ); -
do_action( 'mphb_render_loop_room_type_after_price' ); -
do_action( 'mphb_render_loop_room_type_before_price' ); -
do_action( 'mphb_render_single_room_type_after_price' ); -
do_action( 'mphb_render_single_room_type_before_price' ); -
apply_filters( 'mphb_rest_check_permissions', $permission, $context, $objectId, $postType ); -
do_action( 'mphb_sc_search_results_after_room' ); -
do_action( 'mphb_sc_search_results_before_room' ); -
do_action( 'mphb_settings_tab_after_submit_button', $this->tabName, $this->name ); -
do_action( 'mphb_taxes_and_fees_updated', $newFeesAndTaxes ); -
apply_filters( 'widget_title', $title, $instance, $this->id_base ); -
do_action( '_mphb_admin_after_field_render', $this->name ); -
do_action( '_mphb_admin_before_field_render', $this->name ); -
do_action( '_mphb_after_dropdown_pages' ); -
do_action( '_mphb_before_dropdown_pages' ); -
do_action( '_mphb_persistence_after_get_posts', $atts, $posts ); -
do_action( '_mphb_persistence_before_get_posts', $atts ); -
do_action( '_mphb_translate_admin_email_after_send', $this->booking ); -
do_action( '_mphb_translate_admin_email_before_send', $this->booking ); -
do_action( '_mphb_translate_customer_email_after_send', $this->booking ); -
do_action( '_mphb_translate_customer_email_before_send', $this->booking ); -
apply_filters( '_mphb_translate_page_id', $pageId ); -
apply_filters( '_mphb_translate_reserved_service', $reservedService ); -
apply_filters( '_mphb_translate_service', $service ); -
do_action( "{$groupName}_fields", $fieldsGroup ); -
apply_filters( "{$metaboxSlug}_fields", $this->getRawFields() ); -
do_action( "{$this->bgBookingUpgrader2_0_0->getIdentifier()}_cron" ); -
do_action( "{$this->bgBookingUpgrader2_2_0->getIdentifier()}_cron" ); -
do_action( "{$this->bgBookingUpgrader2_3_0->getIdentifier()}_cron" ); -
do_action( "{$this->bgBookingUpgrader4_2_0->getIdentifier()}_cron" ); -
do_action( "{$this->bgBookingUpgrader6_0_0->getIdentifier()}_cron" ); -
do_action( "{$this->bgUpgrader->getIdentifier()}_cron" ); -
do_action( "{$this->id_base}_after_controls", $instance, $this ); -
apply_filters( "{$this->id_base}_before_update", $instance, $new_instance, $old_instance, $this ); -
apply_filters( "{$this->id_base}_template_args", array( 'adults' => $this->adults, 'children' => $this->children, 'checkInDate' => ! is_null( $this->checkInDate ) ? $this->checkInDate->format( MPHB()->settings()->dateTime()->getDateFormat() ) : '', 'checkOutDate' => ! is_null( $this->checkOutDate ) ? $this->checkOutDate->format( MPHB()->settings()->dateTime()->getDateFormat() ) : '', 'attributes' => $this->attributes, ), $instance, $this ); -
apply_filters( "{$this->identifier}_aborting", false ); -
do_action( "{$this->identifier}_complete" ); -
apply_filters( "{$this->identifier}_default_time_limit", 20 ); -
apply_filters( "{$this->identifier}_memory_exceeded", $return ); -
apply_filters( "{$this->identifier}_queue_lock_time", $lock_duration ); -
apply_filters( "{$this->identifier}_time_exceeded", $return ); -
do_action( "{$this->postType}_persistence_before_delete_post", $postData->getID(), $postData ); -
apply_filters( "{$this->postType}_persistence_default_query_atts", $atts ); -
apply_filters( "{$this->postType}_persistence_get_posts_atts", $atts ); -
apply_filters( "{$this->postType}_persistence_modify_query_atts", $atts ); -
apply_filters( "{$this->postType}_persistence_new_post_data", $postData->getPostAtts() ); -
do_action( "after_display_{$metaboxSlug}", $this->context, $this->priority, $this ); -
do_action( "before_display_{$metaboxSlug}", $this->context, $this->priority, $this ); -
apply_filters( 'illegal_user_logins', array() ); -
do_action( "in_plugin_update_message-{$file}", $plugin, $version_info ); -
do_action( "mphb_{$templateId}_email_head_styles" ); -
do_action( "mphb_{$this->type}_repository_before_mapping_posts", $posts ); -
do_action( 'mphb_activated' ); -
apply_filters( 'mphb_admin_checkout_customer_fields', $customerFields ); -
do_action( 'mphb_admin_checkout_rest_before_start', $request ); -
apply_filters( 'mphb_admin_checkout_rest_response', $responseData, $request ); -
apply_filters( 'mphb_admin_js_data', $data ); -
do_action( 'mphb_admin_key_fields', $key_data ); -
do_action( 'mphb_after_admin_report_output', $this->reportType ); -
do_action( 'mphb_after_send_mail', $this ); -
apply_filters( 'mphb_ajax_api_action_class_names', static::AJAX_ACTION_CLASS_NAMES ); -
do_action( 'mphb_before_register_admin_scripts' ); -
do_action( 'mphb_before_register_public_scripts' ); -
do_action( 'mphb_before_register_scripts' ); -
do_action( 'mphb_before_send_mail', $this ); -
apply_filters( 'mphb_block_attributes', $attributes, $blockName ); -
apply_filters( 'mphb_block_booking', (bool) $disabled ); -
do_action( 'mphb_block_created', $block ); -
do_action( 'mphb_block_updated', $block, $oldBlock ); -
do_action( 'mphb_booking_after_get_logs' ); -
do_action( 'mphb_booking_before_get_logs' ); -
apply_filters( 'mphb_booking_calculate_total_price', $discountTotal, $this->booking ); -
do_action( 'mphb_booking_cancelled', $booking, $oldStatus ); -
do_action( 'mphb_booking_confirmed', $booking, $oldStatus ); -
do_action( 'mphb_booking_confirmed_with_payment', $booking, $payment ); -
do_action( 'mphb_booking_create_before_set_status', $postId ); -
apply_filters( 'mphb_booking_deposit_price', $deposit, $this ); -
apply_filters( 'mphb_booking_history_shortcode_posts_per_page', $postsPerPage ); -
do_action( 'mphb_booking_pending_payment_capture', $booking, $payment ); -
apply_filters( 'mphb_booking_price_breakdown', $priceBreakdown, $this->booking ); -
do_action( 'mphb_booking_rules_updated', $preparedRequest ); -
do_action( 'mphb_booking_status_changed', $booking, $oldStatus ); -
do_action( 'mphb_booking_submitted', $booking, $payment, $isAdmin ); -
apply_filters( 'mphb_can_payment_be_abandoned', true, $payment ); -
apply_filters( 'mphb_can_payment_be_cancelled', in_array( $payment->getStatus(), $allowedStatuses ), $payment ); -
apply_filters( 'mphb_can_payment_be_completed', in_array( $payment->getStatus(), $allowedStatuses ), $payment ); -
apply_filters( 'mphb_can_payment_be_failed', in_array( $payment->getStatus(), $allowedStatuses ), $payment ); -
apply_filters( 'mphb_can_payment_be_on_hold', in_array( $payment->getStatus(), $allowedStatuses ), $payment ); -
apply_filters( 'mphb_can_payment_be_refunded', in_array( $payment->getStatus(), $allowedStatuses ), $payment ); -
do_action( 'mphb_cb_checkout_before_coupon_button' ); -
do_action( 'mphb_cb_checkout_before_coupon_input' ); -
do_action( 'mphb_cb_checkout_before_coupon_label' ); -
do_action( 'mphb_cb_checkout_before_coupon_message' ); -
do_action( 'mphb_cb_checkout_before_coupon_title' ); -
do_action( 'mphb_cb_checkout_booking_details', $booking, $details ); -
apply_filters( 'mphb_cb_checkout_coupon_apply_text', __( 'Apply', 'motopress-hotel-booking' ) ); -
do_action( 'mphb_cb_checkout_coupon_bottom' ); -
apply_filters( 'mphb_cb_checkout_coupon_label', __( 'Coupon Code:', 'motopress-hotel-booking' ) ); -
apply_filters( 'mphb_cb_checkout_coupon_title', '' ); -
do_action( 'mphb_cb_checkout_coupon_top' ); -
do_action( 'mphb_cb_checkout_form', $booking, $details ); -
do_action( 'mphb_cb_checkout_form_after_end' ); -
do_action( 'mphb_cb_checkout_form_after_start' ); -
do_action( 'mphb_cb_checkout_form_before_end' ); -
do_action( 'mphb_cb_checkout_form_before_start' ); -
do_action( 'mphb_cb_checkout_form_before_submit_button' ); -
do_action( 'mphb_cb_checkout_room_details', $reservedRoom, $index, $roomType, $booking, $details ); -
do_action( 'mphb_cb_reserve_rooms_form_after_end' ); -
do_action( 'mphb_cb_reserve_rooms_form_before_end' ); -
do_action( 'mphb_cb_reserve_rooms_form_before_start' ); -
do_action( 'mphb_cb_reserve_rooms_form_before_submit_button' ); -
do_action( 'mphb_cb_search_form_after_end' ); -
do_action( 'mphb_cb_search_form_after_start' ); -
do_action( 'mphb_cb_search_form_before_end' ); -
do_action( 'mphb_cb_search_form_before_start' ); -
do_action( 'mphb_cb_search_form_before_submit_button' ); -
apply_filters( 'mphb_checkout_booking_details', $bookingDetails ); -
apply_filters( 'mphb_checkout_doing_payment', $isDoingPayment ); -
apply_filters( 'mphb_checkout_room_details', $reserveRooms, $requestData ); -
apply_filters( 'mphb_checkout_step', $step ); -
apply_filters( 'mphb_checkout_success_message', __( 'Reservation submitted', 'motopress-hotel-booking' ) ); -
apply_filters( 'mphb_countries', $countries ); -
apply_filters( "mphb_create_{$type}_field", null, $name, $details, $value ); -
do_action( 'mphb_create_booking_by_user', $booking ); -
apply_filters( 'mphb_create_new_account', false ); -
do_action( 'mphb_create_stripe_payment_intent_for_room_types', $requestData[ static::REQUEST_DATA_ROOM_TYPE_IDS ] ); -
do_action( 'mphb_created_user', $customerId, $newCustomerData ); -
apply_filters( 'mphb_csv_file_delimeter', ',' ); -
apply_filters( 'mphb_currency_labels', $labels ); -
apply_filters( 'mphb_currency_symbols', $symbols ); -
apply_filters( 'mphb_custom_admin_nonces', array() ); -
apply_filters( 'mphb_custom_front_nonces', array() ); -
apply_filters( 'mphb_custom_settings_tab', null, $tabName ); -
do_action( 'mphb_customer_cancelled_booking', $this->booking ); -
do_action( 'mphb_customer_confirmed_booking', $this->booking ); -
apply_filters( 'mphb_customer_data', array_merge( $args, array( 'user_login' => $username, 'user_pass' => $password, 'user_email' => $email, 'role' => $role, ) ) ); -
apply_filters( 'mphb_customer_fields', $this->defaultFields ); -
apply_filters( 'mphb_dashboard_default_datepick_theme', 'admin' ); -
apply_filters( 'mphb_dashboard_disabled_widgets', array() ); -
apply_filters( 'mphb_dashboard_widgets', array() ); -
apply_filters( 'mphb_default_mailer', new Mailer() ); -
apply_filters( 'mphb_delete_customer_errors', $errors, $customerId ); -
do_action( 'mphb_delete_rate_custom_price', $rateId, $startDate, $endDate ); -
do_action( 'mphb_deleted_customer', $customerId, $errors ); -
do_action( 'mphb_deleted_user', $userId, $reassign, $deleted ); -
do_action( 'mphb_disable_google_hotels' ); -
apply_filters( 'mphb_display_custom_shortcodes', array() ); -
apply_filters( 'mphb_edit_page_field_groups', $fieldGroups, $postType ); -
apply_filters( "mphb_email_{$this->id}_prevent", false ); -
apply_filters( 'mphb_email_base_color_default', $this->defaultBaseColor ); -
apply_filters( 'mphb_email_bg_color_default', $this->defaultBgColor ); -
apply_filters( 'mphb_email_body_bg_color_default', $this->defaultBodyBgColor ); -
apply_filters( 'mphb_email_body_text_color_default', $this->defaultBodyTextColor ); -
apply_filters( 'mphb_email_booking_details_tags', $orderViewTags ); -
apply_filters( 'mphb_email_booking_tags', $bookingTags ); -
apply_filters( 'mphb_email_customer_registration_tags', $registrationTags ); -
apply_filters( 'mphb_email_global_tags', $globalTags ); -
do_action( 'mphb_email_head_styles' ); -
apply_filters( 'mphb_email_logo_default', '' ); -
apply_filters( 'mphb_email_payment_tags', $paymentTags ); -
apply_filters( 'mphb_email_replace_tag', $replaceText, $tag, $this->booking, $this->payment ); -
apply_filters( 'mphb_email_reserved_room_replace_tag', $replaceText, $tag, $this->reservedRoom, $this->reservedRoomNumber, $this->booking ); -
apply_filters( 'mphb_email_reserved_room_tags', $tags ); -
apply_filters( 'mphb_email_tags', $tags ); -
apply_filters( 'mphb_email_user_cancellation_tags', $userCancellationTags ); -
apply_filters( 'mphb_email_user_confirmation_tags', $userConfirmationTags ); -
do_action( 'mphb_enable_google_hotels' ); -
do_action( 'mphb_enqueue_admin_dashboard_assets' ); -
do_action( 'mphb_enqueue_checkout_scripts' ); -
do_action( "mphb_enqueue_edit_{mphb_unprefix($this->postType)}_scripts", $this->isCurrentAddNewPage() ); -
do_action( "mphb_enqueue_manage_{mphb_unprefix($this->postType)}s_scripts", $this->isCurrentTrashPage() ); -
apply_filters( 'mphb_errors_wrapper_class', 'mphb-errors-wrapper' ); -
apply_filters( 'mphb_export_bookings_columns', array( static::EXPORT_COLUMN_BOOKING_ID => esc_html__( 'ID', 'motopress-hotel-booking' ), static::EXPORT_COLUMN_BOOKING_STATUS => esc_html__( 'Status', 'motopress-hotel-booking' ), static::EXPORT_COLUMN_CHECK_IN => esc_html__( 'Check-in', 'motopress-hotel-booking' ), static::EXPORT_COLUMN_CHECK_OUT => esc_html__( 'Check-out', 'motopress-hotel-booking' ), static::EXPORT_COLUMN_ROOM_TYPE => esc_h... ); -
apply_filters( 'mphb_export_bookings_end_date_meta_query', $metaQuery, $endDate, $searchBy ); -
apply_filters( 'mphb_export_bookings_methods', array( 'reserved-rooms' => __( 'Booking dates between', 'motopress-hotel-booking' ), 'check-in' => __( 'Check-in date between', 'motopress-hotel-booking' ), 'check-out' => __( 'Check-out date between', 'motopress-hotel-booking' ), 'in-house' => __( 'In-house between', 'motopress-hotel-booking' ), 'booking-date' => __( 'Date of reservation between', 'motopress-hotel-booking' ), ) ); -
apply_filters( 'mphb_export_bookings_parse_columns', $columnsWithData, $booking, $reservedRoom ); -
apply_filters( 'mphb_export_bookings_query_args', $queryArgs ); -
apply_filters( 'mphb_export_bookings_start_date_meta_query', $metaQuery, $startDate, $searchBy ); -
apply_filters( 'mphb_filter_customers_per_page', 20 ); -
apply_filters( 'mphb_filter_dates_range_types', $rangesList ); -
apply_filters( 'mphb_filter_report_types', $typesList ); -
apply_filters( 'mphb_format_price_parameters', array( 'price' => $price, 'attributes' => $atts, ) ); -
apply_filters( 'mphb_free_literal', _x( 'Free', 'Zero price', 'motopress-hotel-booking' ) ); -
apply_filters( 'mphb_gateway_has_instructions', true, $this->getId() ); -
apply_filters( 'mphb_gateway_has_sandbox', true, $this->getId() ); -
do_action( 'mphb_generate_extension_settings', $tab ); -
do_action( 'mphb_generate_settings_admin_emails', $tab ); -
do_action( 'mphb_generate_settings_advanced', $tab ); -
do_action( 'mphb_generate_settings_customer_emails', $tab ); -
do_action( 'mphb_generate_settings_customer_registration_emails', $tab ); -
do_action( "mphb_generate_settings_payment_gateway_{$gateway->getId()}", $subTab ); -
do_action( 'mphb_generate_settings_payments', $tab ); -
apply_filters( 'mphb_generate_settings_tabs', $generateTabs ); -
apply_filters( 'mphb_generated_customer_username', 'motopress_user_' . zeroise( wp_rand( 0, 9999 ), 4 ), $email, $args, $suffix ); -
apply_filters( 'mphb_get_active_rates', $rates, $roomTypeIdOnAnyLanguage, $startDate, $endDate, $isGetOnDefaultLanguage ); -
apply_filters( 'mphb_get_active_rates_by_season', $result, $seasonId, $language ); -
apply_filters( 'mphb_get_admin_blocks_for_export', $result, $roomTypeOriginalId, $requestedRoomId ); -
apply_filters( 'mphb_get_all_rate_ids', $rateIds, $isGetOnDefaultLanguage ); -
apply_filters( 'mphb_get_booking_rules_for_date', $result, $roomTypeOriginalId, $requestedDate ); -
apply_filters( 'mphb_get_calendar_comments_for_room_type', $result, $roomTypeOriginalId, $roomIds, $period ); -
apply_filters( 'mphb_get_dates_rates_for_room_type', $result, $roomTypeOriginalId ); -
apply_filters( 'mphb_get_rate_by_id', $rate, $rateId, $languageCode, $forceReload ); -
apply_filters( 'mphb_get_rate_date_prices', $this->datePrices, $this ); -
apply_filters( 'mphb_get_room_type_active_rates', $result, $roomTypeOriginalId ); -
apply_filters( 'mphb_get_taxes_breakdown', $taxesBreakdown, $priceBreakdown, $accommodationTaxesTotal, $feeTaxesTotal, $serviceTaxesTotal ); -
apply_filters( 'mphb_get_template_part', $template, $slug, $atts ); -
do_action( 'mphb_gh_exclude_room_type', $originalRoomType ); -
do_action( 'mphb_gh_include_room_type', $originalRoomType ); -
apply_filters( 'mphb_has_not_stay_in_rules', $this->hasNotStayInRules ); -
do_action( 'mphb_import_end' ); -
do_action( 'mphb_init_gateways', $this ); -
apply_filters( 'mphb_instant_paymant_methods', array( 'cash' ) ); -
apply_filters( 'mphb_is_room_type_has_active_rates', $isRoomTypeHasActiveRate, $roomTypeIdOnAnyLanguage, $startDate, $endDate ); -
apply_filters( 'mphb_is_rooms_exist_query_atts', $searchAtts ); -
apply_filters( 'mphb_is_rooms_free_query_atts', $searchAtts ); -
do_action( 'mphb_load_search_results_page', array( 'check_in_date' => $this->checkInDate, 'check_out_date' => $this->checkOutDate, 'adults' => $this->adults, 'children' => $this->children, 'is_correct' => $this->isCorrectInputData, ) ); -
do_action( 'mphb_loaded', $this ); -
apply_filters( 'mphb_loop_room_type_gallery_main_slider_columns', '1' ); -
do_action( 'mphb_loop_room_type_gallery_main_slider_flexslider_after' ); -
do_action( 'mphb_loop_room_type_gallery_main_slider_flexslider_before' ); -
apply_filters( 'mphb_loop_room_type_gallery_main_slider_flexslider_options', $mainGalleryFlexsliderOptions ); -
apply_filters( 'mphb_loop_room_type_gallery_main_slider_image_link', 'post' ); -
apply_filters( 'mphb_loop_room_type_gallery_main_slider_image_size', 'large' ); -
apply_filters( 'mphb_loop_room_type_thumbnail_size', 'post-thumbnail' ); -
apply_filters( 'mphb_loop_room_type_title_link_class', 'mphb-room-type-title' ); -
apply_filters( 'mphb_loop_service_thumbnail_size', 'post-thumbnail' ); -
apply_filters( 'mphb_my_account_rules_do_hard_flush', false ); -
apply_filters( 'mphb_new_customer_username', $username, $email, $args, $suffix ); -
apply_filters( 'mphb_pagination_args', $paginationAtts ); -
apply_filters( 'mphb_pagination_class', 'mphb-pagination pagination' ); -
apply_filters( 'mphb_pagination_links', $pagination ); -
apply_filters( 'mphb_parse_customer_data', $customerData, $rawData, $customerFields ); -
apply_filters( 'mphb_parse_customer_errors', $errors ); -
do_action( 'mphb_payment_abandoned', $payment ); -
do_action( 'mphb_payment_before_abandoned', $payment ); -
do_action( 'mphb_payment_before_cancelled', $payment ); -
do_action( 'mphb_payment_before_completed', $payment ); -
do_action( 'mphb_payment_before_failed', $payment ); -
do_action( 'mphb_payment_before_on_hold', $payment ); -
do_action( 'mphb_payment_before_refunded', $payment ); -
do_action( 'mphb_payment_cancelled', $payment ); -
apply_filters( 'mphb_payment_checkout_verify_nonce', $isNonceOk, $booking, $requestArgs ); -
do_action( 'mphb_payment_completed', $payment ); -
do_action( 'mphb_payment_failed', $payment ); -
do_action( 'mphb_payment_on_hold', $payment ); -
do_action( 'mphb_payment_refunded', $payment ); -
do_action( 'mphb_payment_status_changed', $payment, $oldStatus ); -
do_action( 'mphb_payment_submitted', $payment, $booking, $requestArgs ); -
do_action( "mphb_paypal_{$txnType}", $this->input, $this->payment->getId() ); -
apply_filters( 'mphb_paypal_supported_currencies', $supportedCurrencies ); -
do_action( 'mphb_persistence_after_get_post_by_id', $id, $post ); -
do_action( 'mphb_persistence_before_get_post_by_id', $id ); -
apply_filters( 'mphb_persistence_get_posts_atts', $atts, $this->postType ); -
apply_filters( 'mphb_prebuild_gateways', $prebuildGateways ); -
apply_filters( 'mphb_prevent_handle_booking_status_transition', false ); -
apply_filters( 'mphb_prevent_handle_payment_status_transition', false ); -
apply_filters( 'mphb_price_classes', $priceClasses, $price, $formattedPrice, $atts ); -
apply_filters( 'mphb_price_period_description', $priceDescription, $atts['period_nights'] ); -
apply_filters( 'mphb_public_js_data', $data ); -
apply_filters( 'mphb_recommended_room_types_items_for_dates', $price, $taxesAndFees ); -
do_action( "mphb_register_{$this->postType}_metaboxes" ); -
do_action( 'mphb_register_gateways', $suspendPayments ); -
do_action( 'mphb_register_user', $username, $email, $errors ); -
apply_filters( 'mphb_registration_errors', $errors, $username, $email ); -
apply_filters( 'mphb_render_block_attributes', $atts, $shortcode->getName() ); -
do_action( 'mphb_render_loop_room_type_after_adults' ); -
do_action( 'mphb_render_loop_room_type_after_attributes' ); -
do_action( 'mphb_render_loop_room_type_after_bed_type' ); -
do_action( 'mphb_render_loop_room_type_after_book_button' ); -
do_action( 'mphb_render_loop_room_type_after_categories' ); -
do_action( 'mphb_render_loop_room_type_after_children' ); -
do_action( 'mphb_render_loop_room_type_after_custom_attribute' ); -
do_action( 'mphb_render_loop_room_type_after_description' ); -
do_action( 'mphb_render_loop_room_type_after_excerpt' ); -
do_action( 'mphb_render_loop_room_type_after_facilities' ); -
do_action( 'mphb_render_loop_room_type_after_featured_image' ); -
do_action( 'mphb_render_loop_room_type_after_gallery' ); -
do_action( 'mphb_render_loop_room_type_after_size' ); -
do_action( 'mphb_render_loop_room_type_after_title' ); -
do_action( 'mphb_render_loop_room_type_after_total_capacity' ); -
do_action( 'mphb_render_loop_room_type_after_view' ); -
do_action( 'mphb_render_loop_room_type_after_view_details_button' ); -
do_action( 'mphb_render_loop_room_type_attributes' ); -
do_action( 'mphb_render_loop_room_type_before_adults' ); -
do_action( 'mphb_render_loop_room_type_before_attributes' ); -
do_action( 'mphb_render_loop_room_type_before_bed_type' ); -
do_action( 'mphb_render_loop_room_type_before_book_button' ); -
do_action( 'mphb_render_loop_room_type_before_categories' ); -
do_action( 'mphb_render_loop_room_type_before_children' ); -
do_action( 'mphb_render_loop_room_type_before_custom_attribute', $attributeName ); -
do_action( 'mphb_render_loop_room_type_before_description' ); -
do_action( 'mphb_render_loop_room_type_before_excerpt' ); -
do_action( 'mphb_render_loop_room_type_before_facilities' ); -
do_action( 'mphb_render_loop_room_type_before_featured_image' ); -
do_action( 'mphb_render_loop_room_type_before_gallery' ); -
do_action( 'mphb_render_loop_room_type_before_size' ); -
do_action( 'mphb_render_loop_room_type_before_title' ); -
do_action( 'mphb_render_loop_room_type_before_total_capacity' ); -
do_action( 'mphb_render_loop_room_type_before_view' ); -
do_action( 'mphb_render_loop_room_type_before_view_details_button' ); -
do_action( 'mphb_render_loop_room_type_gallery', $roomType ); -
do_action( 'mphb_render_loop_service_after_description' ); -
do_action( 'mphb_render_loop_service_after_excerpt' ); -
do_action( 'mphb_render_loop_service_after_featured_image' ); -
do_action( 'mphb_render_loop_service_after_price' ); -
do_action( 'mphb_render_loop_service_after_title' ); -
do_action( 'mphb_render_loop_service_before_description' ); -
do_action( 'mphb_render_loop_service_before_excerpt' ); -
do_action( 'mphb_render_loop_service_before_featured_image' ); -
do_action( 'mphb_render_loop_service_before_price' ); -
do_action( 'mphb_render_loop_service_before_title' ); -
do_action( "mphb_render_meta_box_group_{$this->postType}_{$this->name}" ); -
do_action( 'mphb_render_single_room_type_after_adults' ); -
do_action( 'mphb_render_single_room_type_after_attributes' ); -
do_action( 'mphb_render_single_room_type_after_bed_type' ); -
do_action( 'mphb_render_single_room_type_after_calendar' ); -
do_action( 'mphb_render_single_room_type_after_categories' ); -
do_action( 'mphb_render_single_room_type_after_children' ); -
do_action( 'mphb_render_single_room_type_after_content' ); -
do_action( 'mphb_render_single_room_type_after_custom_attribute' ); -
do_action( 'mphb_render_single_room_type_after_description' ); -
do_action( 'mphb_render_single_room_type_after_excerpt' ); -
do_action( 'mphb_render_single_room_type_after_facilities' ); -
do_action( 'mphb_render_single_room_type_after_featured_image' ); -
do_action( 'mphb_render_single_room_type_after_gallery' ); -
do_action( 'mphb_render_single_room_type_after_reservation_form' ); -
do_action( 'mphb_render_single_room_type_after_size' ); -
do_action( 'mphb_render_single_room_type_after_title' ); -
do_action( 'mphb_render_single_room_type_after_total_capacity' ); -
do_action( 'mphb_render_single_room_type_after_view' ); -
do_action( 'mphb_render_single_room_type_attributes' ); -
do_action( 'mphb_render_single_room_type_before_adults' ); -
do_action( 'mphb_render_single_room_type_before_attributes' ); -
do_action( 'mphb_render_single_room_type_before_bed_type' ); -
do_action( 'mphb_render_single_room_type_before_calendar' ); -
do_action( 'mphb_render_single_room_type_before_categories' ); -
do_action( 'mphb_render_single_room_type_before_children' ); -
do_action( 'mphb_render_single_room_type_before_content' ); -
do_action( 'mphb_render_single_room_type_before_custom_attribute', $attributeName ); -
do_action( 'mphb_render_single_room_type_before_description' ); -
do_action( 'mphb_render_single_room_type_before_excerpt' ); -
do_action( 'mphb_render_single_room_type_before_facilities' ); -
do_action( 'mphb_render_single_room_type_before_featured_image' ); -
do_action( 'mphb_render_single_room_type_before_gallery' ); -
do_action( 'mphb_render_single_room_type_before_reservation_form' ); -
do_action( 'mphb_render_single_room_type_before_size' ); -
do_action( 'mphb_render_single_room_type_before_title' ); -
do_action( 'mphb_render_single_room_type_before_total_capacity' ); -
do_action( 'mphb_render_single_room_type_before_view' ); -
do_action( 'mphb_render_single_room_type_content' ); -
do_action( 'mphb_render_single_room_type_gallery', $roomType ); -
do_action( 'mphb_render_single_room_type_metas' ); -
do_action( 'mphb_render_single_room_type_wrapper_end' ); -
do_action( 'mphb_render_single_room_type_wrapper_start' ); -
do_action( 'mphb_render_single_service_after_price' ); -
do_action( 'mphb_render_single_service_before_price' ); -
do_action( 'mphb_reservation_rules_updated', $newRules ); -
do_action( 'mphb_reserve_rooms_form_after_start' ); -
apply_filters( "mphb_rest_{$object_type}_schema", $schema['properties'] ); -
apply_filters( 'mphb_rest_api_get_rest_namespaces', array( 'mphb/v1' => $this->getControllers( 1 ), ) ); -
apply_filters( 'mphb_rest_batch_items_limit', 100, $this->get_normalized_rest_base() ); -
apply_filters( 'mphb_rest_get_settings', array( 'currency' => $currencySettings->getCurrencyCode(), 'currency_position' => $currencySettings->getCurrencyPosition(), 'currency_symbol' => $currencySettings->getCurrencySymbol(), 'default_admin_calendar_period' => $mainSettings->getDefaultCalendarPeriod(), ) ); -
apply_filters( 'mphb_rest_is_request_to_rest_api', $isRequestToRestApi ); -
apply_filters( 'mphb_room_attributes_type_selector', array( 'select' => __( 'Select', 'motopress-hotel-booking' ), ) ); -
apply_filters( 'mphb_sanitize_customer_field', null, $value, $field['type'], $fieldName ); -
apply_filters( 'mphb_sc_account_wrapper_class', 'mphb_sc_account' ); -
do_action( 'mphb_sc_after_availability_calendar' ); -
apply_filters( 'mphb_sc_availability_calendar_wrapper_classes', 'mphb_sc_availability_calendar-wrapper' ); -
do_action( 'mphb_sc_before_availability_calendar' ); -
do_action( 'mphb_sc_before_group_availability_calendar' ); -
do_action( 'mphb_sc_booking_cancellation_bottom' ); -
apply_filters( 'mphb_sc_booking_cancellation_wrapper_class', 'mphb_sc_booking_confirmation' ); -
do_action( 'mphb_sc_booking_confirmation_after_confirmation_messages' ); -
do_action( 'mphb_sc_booking_confirmation_after_payment_message' ); -
do_action( 'mphb_sc_booking_confirmation_before_confirmation_messages' ); -
do_action( 'mphb_sc_booking_confirmation_before_payment_message' ); -
do_action( 'mphb_sc_booking_confirmation_between_confirmation_messages' ); -
do_action( 'mphb_sc_booking_confirmation_bottom' ); -
apply_filters( 'mphb_sc_booking_confirmation_wrapper_class', 'mphb_sc_booking_confirmation' ); -
do_action( 'mphb_sc_booking_form_after_form' ); -
do_action( 'mphb_sc_booking_form_before_form' ); -
apply_filters( 'mphb_sc_booking_form_wrapper_classes', 'mphb_sc_booking_form-wrapper' ); -
do_action( 'mphb_sc_checkout_after_form' ); -
apply_filters( 'mphb_sc_checkout_allow_guest_name', MPHB()->settings()->main()->isGuestNameOnCheckoutAllowed() ); -
apply_filters( 'mphb_sc_checkout_already_booked_message', __( 'Accommodation is already booked.', 'motopress-hotel-booking' ) ); -
apply_filters( 'mphb_sc_checkout_auto_mode_success_message', ob_get_clean() ); -
do_action( 'mphb_sc_checkout_before_errors' ); -
do_action( 'mphb_sc_checkout_before_form' ); -
do_action( 'mphb_sc_checkout_coupon_after_button' ); -
do_action( 'mphb_sc_checkout_coupon_after_input' ); -
do_action( 'mphb_sc_checkout_coupon_after_label' ); -
apply_filters( 'mphb_sc_checkout_coupon_apply_text', __( 'Apply', 'motopress-hotel-booking' ) ); -
do_action( 'mphb_sc_checkout_coupon_before_button' ); -
do_action( 'mphb_sc_checkout_coupon_before_input' ); -
do_action( 'mphb_sc_checkout_coupon_before_label' ); -
do_action( 'mphb_sc_checkout_coupon_bottom' ); -
apply_filters( 'mphb_sc_checkout_coupon_label', __( 'Coupon Code:', 'motopress-hotel-booking' ) ); -
apply_filters( 'mphb_sc_checkout_coupon_title', '' ); -
do_action( 'mphb_sc_checkout_coupon_top' ); -
apply_filters( 'mphb_sc_checkout_error', $error ); -
do_action( 'mphb_sc_checkout_errors_content', $this->errors ); -
do_action( 'mphb_sc_checkout_form', $booking, $roomDetails, $customer ); -
do_action( 'mphb_sc_checkout_form_booking_details', $booking, $roomDetails ); -
do_action( 'mphb_sc_checkout_form_customer_details' ); -
apply_filters( 'mphb_sc_checkout_is_selected_service', false, $service, $reservedRoom, $roomType ); -
apply_filters( 'mphb_sc_checkout_manual_mode_success_message', ob_get_clean() ); -
apply_filters( 'mphb_sc_checkout_parse_check_in_date', $checkInDate, $dateString, $todayDate ); -
apply_filters( 'mphb_sc_checkout_parse_check_out_date', $checkOutDate, $dateString, $this->checkInDate ); -
apply_filters( 'mphb_sc_checkout_payment_mode_success_message', ob_get_clean() ); -
apply_filters( 'mphb_sc_checkout_preset_adults', $presetAdults, $roomType, $reservedRoom, $booking ); -
apply_filters( 'mphb_sc_checkout_preset_children', $presetChildren, $roomType, $reservedRoom, $booking ); -
apply_filters( 'mphb_sc_checkout_preset_guest_name', '', $reservedRoom, $booking ); -
apply_filters( 'mphb_sc_checkout_preset_rate_id', $selectedRateId, $reservedRoom, $booking, $allowedRates ); -
apply_filters( 'mphb_sc_checkout_preset_service_adults', $roomType->getAdultsCapacity(), $service, $reservedRoom, $roomType ); -
apply_filters( 'mphb_sc_checkout_preset_service_quantity', $minQuantity, $service, $reservedRoom, $roomType ); -
do_action( 'mphb_sc_checkout_room_details', $reservedRoom, $index, $roomType, $booking, $roomDetails ); -
apply_filters( 'mphb_sc_checkout_single_gateway_hide_billing_details', false, reset( $gateways ) ); -
apply_filters( 'mphb_sc_checkout_step_checkout_booking_object', Booking::create( $bookingAtts ) ); -
apply_filters( 'mphb_sc_checkout_step_checkout_pre_validate_selected_rooms', $this->errors, $selectedRooms ); -
apply_filters( 'mphb_sc_checkout_step_checkout_reserved_rooms', $reservedRooms, $roomDetails, $selectedRooms ); -
apply_filters( 'mphb_sc_checkout_step_checkout_room_to_reserve', $reservedRoomAtts, $roomTypeId ); -
apply_filters( 'mphb_sc_checkout_step_checkout_rooms_details', $roomDetails, $selectedRooms ); -
apply_filters( 'mphb_sc_checkout_step_checkout_selected_rooms', $roomDetails ); -
apply_filters( 'mphb_sc_checkout_wrapper_classes', 'mphb_sc_checkout-wrapper' ); -
do_action( 'mphb_sc_room_after_item' ); -
do_action( 'mphb_sc_room_after_loop' ); -
do_action( 'mphb_sc_room_before_item' ); -
do_action( 'mphb_sc_room_before_loop' ); -
do_action( 'mphb_sc_room_item_bottom' ); -
do_action( 'mphb_sc_room_item_top' ); -
apply_filters( 'mphb_sc_room_item_wrapper_class', join( ' ', mphb_tmpl_get_filtered_post_class( 'mphb-room-type' ) ) ); -
do_action( 'mphb_sc_room_rates_after_item' ); -
do_action( 'mphb_sc_room_rates_after_loop' ); -
do_action( 'mphb_sc_room_rates_before_item' ); -
do_action( 'mphb_sc_room_rates_before_loop' ); -
do_action( 'mphb_sc_room_rates_item_bottom' ); -
do_action( 'mphb_sc_room_rates_item_top' ); -
apply_filters( 'mphb_sc_room_rates_wrapper_class', 'mphb_sc_room_rates-wrapper' ); -
do_action( 'mphb_sc_room_render_book_button' ); -
do_action( 'mphb_sc_room_render_details' ); -
do_action( 'mphb_sc_room_render_excerpt' ); -
do_action( 'mphb_sc_room_render_gallery' ); -
do_action( 'mphb_sc_room_render_image' ); -
do_action( 'mphb_sc_room_render_price' ); -
do_action( 'mphb_sc_room_render_title' ); -
do_action( 'mphb_sc_room_render_view_button' ); -
apply_filters( 'mphb_sc_room_wrapper_class', 'mphb_sc_room-wrapper' ); -
do_action( 'mphb_sc_rooms_after_item' ); -
do_action( 'mphb_sc_rooms_after_loop', $roomTypesQuery ); -
do_action( 'mphb_sc_rooms_before_item' ); -
do_action( 'mphb_sc_rooms_before_loop', $roomTypesQuery ); -
do_action( 'mphb_sc_rooms_item_bottom' ); -
do_action( 'mphb_sc_rooms_item_top' ); -
apply_filters( 'mphb_sc_rooms_item_wrapper_class', join( ' ', mphb_tmpl_get_filtered_post_class( 'mphb-room-type' ) ) ); -
do_action( 'mphb_sc_rooms_render_book_button' ); -
do_action( 'mphb_sc_rooms_render_details' ); -
do_action( 'mphb_sc_rooms_render_excerpt' ); -
do_action( 'mphb_sc_rooms_render_gallery' ); -
do_action( 'mphb_sc_rooms_render_image' ); -
do_action( 'mphb_sc_rooms_render_price' ); -
do_action( 'mphb_sc_rooms_render_title' ); -
do_action( 'mphb_sc_rooms_render_view_button' ); -
apply_filters( 'mphb_sc_rooms_wrapper_class', 'mphb_sc_rooms-wrapper mphb-room-types' ); -
do_action( 'mphb_sc_search_after_form' ); -
do_action( 'mphb_sc_search_before_form' ); -
do_action( 'mphb_sc_search_form_before_attributes' ); -
do_action( 'mphb_sc_search_form_before_submit_btn' ); -
do_action( 'mphb_sc_search_form_bottom' ); -
do_action( 'mphb_sc_search_render_form_top' ); -
do_action( 'mphb_sc_search_results_after_info' ); -
do_action( 'mphb_sc_search_results_after_loop', $roomTypesQuery ); -
do_action( 'mphb_sc_search_results_before_info' ); -
do_action( 'mphb_sc_search_results_before_loop', $roomTypesQuery ); -
do_action( 'mphb_sc_search_results_before_search' ); -
apply_filters( 'mphb_sc_search_results_data_room_price', mphb_get_room_type_period_price( $this->checkInDate, $this->checkOutDate, $roomType ) ); -
apply_filters( 'mphb_sc_search_results_error', $error ); -
apply_filters( 'mphb_sc_search_results_errors_wrapper_class', 'mphb-errors-wrapper' ); -
do_action( 'mphb_sc_search_results_recommendation_after' ); -
do_action( 'mphb_sc_search_results_recommendation_before' ); -
apply_filters( 'mphb_sc_search_results_recommendation_title', $title ); -
do_action( 'mphb_sc_search_results_render_book_button' ); -
do_action( 'mphb_sc_search_results_render_details' ); -
do_action( 'mphb_sc_search_results_render_excerpt' ); -
do_action( 'mphb_sc_search_results_render_gallery' ); -
do_action( 'mphb_sc_search_results_render_image' ); -
do_action( 'mphb_sc_search_results_render_price', $checkInDate, $checkOutDate ); -
do_action( 'mphb_sc_search_results_render_title' ); -
do_action( 'mphb_sc_search_results_render_view_button' ); -
do_action( 'mphb_sc_search_results_reservation_cart_after' ); -
do_action( 'mphb_sc_search_results_reservation_cart_before' ); -
apply_filters( 'mphb_sc_search_results_reservation_cart_title', '' ); -
do_action( 'mphb_sc_search_results_room_bottom' ); -
do_action( 'mphb_sc_search_results_room_top' ); -
apply_filters( 'mphb_sc_search_results_room_type_class', join( ' ', mphb_tmpl_get_filtered_post_class( 'mphb-room-type' ) ) ); -
apply_filters( 'mphb_sc_search_results_wrapper_class', 'mphb_sc_search_results-wrapper' ); -
apply_filters( 'mphb_sc_search_wrapper_class', 'mphb_sc_search-wrapper' ); -
do_action( 'mphb_sc_services_after_item' ); -
do_action( 'mphb_sc_services_after_loop', $servicesQuery ); -
do_action( 'mphb_sc_services_before_item' ); -
do_action( 'mphb_sc_services_before_loop', $servicesQuery ); -
apply_filters( 'mphb_sc_services_item_class', join( ' ', mphb_tmpl_get_filtered_post_class( 'mphb-service' ) ) ); -
do_action( 'mphb_sc_services_service_details' ); -
apply_filters( 'mphb_sc_services_wrapper_class', 'mphb_sc_services-wrapper' ); -
apply_filters( 'mphb_search_free_rooms_atts', $postAtts, $atts ); -
apply_filters( 'mphb_search_rooms_atts', array_merge( $defaults, $atts ), $defaults ); -
do_action( 'mphb_send_customer_registration_email', $customer, $userAtts, array(), $booking ); -
do_action( 'mphb_set_custom_booking_rules', $bookingRules, $roomTypeId, $startDate, $endDate ); -
do_action( 'mphb_set_rate_custom_price', $rateId, $startDate, $endDate, $price ); -
apply_filters( 'mphb_show_dashboard_banners', true ); -
apply_filters( 'mphb_show_dashboard_widgets', true ); -
apply_filters( 'mphb_show_extension_links', true ); -
apply_filters( 'mphb_show_mobile_app_offer', true ); -
apply_filters( 'mphb_single_room_type_gallery_columns', '4' ); -
apply_filters( 'mphb_single_room_type_gallery_image_link', 'file' ); -
apply_filters( 'mphb_single_room_type_gallery_image_size', 'thumbnail' ); -
apply_filters( 'mphb_single_room_type_gallery_use_magnific', $useMagnific ); -
apply_filters( 'mphb_single_room_type_gallery_wrapper_class', 'mphb-single-room-type-gallery-wrapper' ); -
apply_filters( 'mphb_single_room_type_image_size', 'large' ); -
apply_filters( 'mphb_single_room_type_microdata', $microdata, $roomTypeId, $roomType ); -
do_action( 'mphb_submit_payment', $payment, $booking, $requestArgs ); -
apply_filters( 'mphb_suppress_rest_error_logs', false ); -
apply_filters( 'mphb_template_path', 'hotel-booking/' ); -
apply_filters( 'mphb_text_taxes_and_fees_excluded', sprintf( _x( ' (+%s taxes and fees)', 'Text about taxes and fees below the price.', 'motopress-hotel-booking' ), mphb_format_price( $taxesExcluded ) ), $taxesExcluded, '(', ')' ); -
apply_filters( 'mphb_text_taxes_and_fees_included', _x( ' (includes taxes and fees)', 'Text about taxes and fees below the price.', 'motopress-hotel-booking' ), '(', ')' ); -
apply_filters( 'mphb_text_taxes_and_fees_undefined', _x( ' (+taxes and fees)', 'Text about taxes and fees below the price.', 'motopress-hotel-booking' ), '(', ')' ); -
apply_filters( 'mphb_tmpl_the_total_recommended_price_for_dates', mphb_format_price( $total ), $taxesAndFees, array(), $total ); -
do_action( 'mphb_updated_user', $user, $data ); -
apply_filters( 'mphb_use_billing_on_page', $useBilling ); -
apply_filters( 'mphb_use_fixed_flexslider_css', true ); -
do_action( 'mphb_widget_rooms_after_item' ); -
do_action( 'mphb_widget_rooms_after_loop' ); -
do_action( 'mphb_widget_rooms_before_item' ); -
do_action( 'mphb_widget_rooms_before_loop' ); -
do_action( 'mphb_widget_rooms_item_bottom' ); -
apply_filters( 'mphb_widget_rooms_item_class', join( ' ', mphb_tmpl_get_filtered_post_class( 'mphb-room-type' ) ) ); -
do_action( 'mphb_widget_rooms_item_top' ); -
apply_filters( 'mphb_widget_rooms_thumbnail_size', 'post-thumbnail' ); -
apply_filters( 'mphb_widget_rooms_wrapper-class', 'mphb_widget_rooms-wrapper' ); -
do_action( 'mphb_widget_search_form_before_attributes' ); -
do_action( 'mphb_widget_search_form_before_submit_btn' ); -
do_action( 'mphb_widget_search_form_bottom' ); -
apply_filters( 'mphb_widget_search_form_class', 'mphb_widget_search-form', $args ); -
do_action( 'mphb_widget_search_form_top' ); -
do_action( 'mphb_wp_session_cleanup' ); -
do_action( 'mphb_wp_session_commit' ); -
apply_filters( 'mphb_wp_session_expiration', 30 * 60 ); -
apply_filters( 'mphb_wp_session_expiration_variant', 24 * 60 ); -
do_action( 'mphb_wp_session_start' ); -
apply_filters( 'mphb_wp2umpirsky_country_locale_replacements', array( 'bel' => 'be', 'rup' => 'ro', 'rup_MK' => 'ro', 'szl' => 'pl', 'szl_PL' => 'pl', 'fur' => 'it', 'pt_BR' => 'pt', 'kir' => 'ky', ) ); -
apply_filters( 'mphb_wp2umpirsky_currency_locale_replacements', array( 'bel' => 'be', 'szl' => 'pl', 'szl_PL' => 'pl', 'rup' => 'ro', 'rup_MK' => 'ro', 'fur' => 'it', 'pt_BR' => 'pt', 'kir' => 'ky', 'zh_TW' => 'zh_Hant_TW', 'zh_MO' => 'zh_Hant_MO', ) ); -
apply_filters( 'plugin_locale', $locale, $pluginSlug ); -
apply_filters( 'the_content', $page->post_content ); -
apply_filters( 'wpml_active_languages', null ); -
apply_filters( 'wpml_default_language', $this->getWPLanguage() ); -
apply_filters( 'wpml_is_translated_post_type', null, $postType ); -
apply_filters( 'wpml_language_is_active', null, $language ); -
apply_filters( 'wpml_object_id', $id, $type, $returnOriginal, $language ); -
do_action( 'wpml_register_single_string', $context, $name, $value ); -
do_action( 'wpml_switch_language', $language ); -
apply_filters( 'wpml_translate_single_string', $value, $context, $name, $language );
Generated from MotoPress Hotel 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: