MotoPress Hotel Booking for Elementor 1.2.1 has 22 actions and 1 filters, read directly from its source code on Nov 17, 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 for Elementor fires an action
add_action( 'mphb-templates/blocks/attribute/after', function( $attribute, $custom_attribute ) {
// Your code runs here.
}, 10, 2 );
// Change a value MotoPress Hotel Booking for Elementor is about to use
add_filter( 'plugin_locale', function( $locale, $arg2 ) {
// Change $locale here.
return $locale;
}, 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
-
do_action( 'mphb-templates/blocks/attribute/after', $attribute, $custom_attribute ); -
do_action( 'mphb-templates/blocks/attribute/before', $attribute, $custom_attribute ); -
do_action( 'mphbe_after_availability_calendar_widget_render', $atts ); -
do_action( 'mphbe_after_availability_widget_render', $atts ); -
do_action( 'mphbe_after_booking_conformation_widget_render', $atts ); -
do_action( 'mphbe_after_checkout_widget_render', $atts ); -
do_action( 'mphbe_after_rates_widget_render', $atts ); -
do_action( 'mphbe_after_room_widget_render', $atts ); -
do_action( 'mphbe_after_rooms_widget_render', $atts ); -
do_action( 'mphbe_after_search_form_widget_render', $atts ); -
do_action( 'mphbe_after_search_results_widget_render', $atts ); -
do_action( 'mphbe_after_services_widget_render', $atts ); -
do_action( 'mphbe_before_availability_calendar_widget_render', $atts ); -
do_action( 'mphbe_before_availability_widget_render', $atts ); -
do_action( 'mphbe_before_booking_conformation_widget_render', $atts ); -
do_action( 'mphbe_before_checkout_widget_render', $atts ); -
do_action( 'mphbe_before_rates_widget_render', $atts ); -
do_action( 'mphbe_before_room_widget_render', $atts ); -
do_action( 'mphbe_before_rooms_widget_render', $atts ); -
do_action( 'mphbe_before_search_form_widget_render', $atts ); -
do_action( 'mphbe_before_search_results_widget_render', $atts ); -
do_action( 'mphbe_before_services_widget_render', $atts ); -
plugin_locale
filterapply_filters( 'plugin_locale', $locale, self::SLUG );
Generated from MotoPress Hotel Booking for Elementor's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: