- How to Display Tax-Inclusive Prices in LatePoint
- Bundled Services
- Managing Bookings With The New Shopping Cart
- Set custom start date for the calendar on your booking form
- How to make Phone Number a required field?
- Add booking form directly on a page
- Redirect to a custom “Thank you” page after booking is complete.
- Adding a booking button to your page
- Change 12/24 hour time system
- How to skip agent selection step and have agent automatically assigned
- Add custom content before or after booking steps
- Customize Book Button Appearance
- Add preselected Agent, Service or Location on Book Appointment Button or Form
- How to change time slot style on the calendar?
- Custom CSS for changing colors
- Booking Form Editor
- Specify which services, agents and locations will be available on a booking form
- How to pick specific categories to be displayed on the booking form
- How to show only services from specific category
- Set custom fonts for the booking form
- How to setup Facebook Pixel
- How to Disable the Messaging Functionality in LatePoint
- How to upgrade to Version 5?
- How to Update to Version 5.1.0
- Which addons are part of a PRO bundle in version 5?
- How to deactivate my license from a website I no longer use.
- Redirect to a custom “Thank you” page after booking is complete.
- How to add a link to terms of service checkbox custom field
- Edit content of the left panel section
- How to enable self hosted Google Calendar setup?
- How does LatePoint send emails?
- How to enable debug log?
- Add to Calendar link is not working
- Getting “One of the plugins is invalid” error when installing add-ons
- Error: unexpected ‘int’, expecting function…
- Service categories not showing during booking process
- Error: Cannot read properties of null (reading: verifyBuyer)
- WordPress Users still can’t login, even when “Use WordPress users as customers” option is checked
- New service is being created when trying to update existing service.
- Auto-sync of events from Google Calendar is not working
List of LatePoint Hooks, Actions and Filters.
Action hooks in LatePoint
<?php
// Agent
do_action('latepoint_agent_saved', $agent, $is_new_record, $agent_params);
do_action('latepoint_agent_form', $agent);
do_action('latepoint_after_agent_info_on_index', $agent);
do_action('latepoint_after_agent_email_notification_templates');
// Service
do_action('latepoint_service_saved', $service, $is_new_record, $service_params);
do_action('latepoint_service_deleted', $id);
do_action('latepoint_quick_form_after_service', $booking);
do_action('latepoint_service_edit_durations', $service);
do_action('latepoint_service_form_after', $service);
do_action('latepoint_after_service_extra_form', $service_extra);
// Booking
do_action('latepoint_booking_created', $booking);
do_action('latepoint_booking_updated', $booking, $old_booking);
do_action('latepoint_booking_will_be_deleted', $booking_id_to_delete);
do_action('latepoint_booking_deleted', $booking_id_to_delete);
do_action('latepoint_booking_quick_edit_form_after', $booking);
do_action('latepoint_booking_quick_form_payment_info_after', $booking);
do_action('latepoint_booking_quick_form_after', $booking);
do_action('latepoint_booking_params', $booking, $restrictions, $current_step, $add_string_to_id);
do_action('latepoint_booking_steps_contact_after', $customer);
do_action('latepoint_conversation_booking_info_after', $booking);
// Customer
do_action('latepoint_step_confirmation_customer_info', $customer, $booking);
do_action('latepoint_customer_created', $customer);
do_action('latepoint_customer_updated', $customer);
do_action('latepoint_customer_quick_edit_form_after', $selected_customer);
do_action('latepoint_customer_dashboard_after_booking_info_tile', $booking);
do_action('latepoint_customer_edit_form_after', $customer);
do_action('latepoint_customer_dashboard_after_tabs', $customer);
do_action('latepoint_customer_dashboard_information_form_after', $customer);
do_action('latepoint_customer_dashboard_after_tab_contents', $customer);
do_action('latepoint_after_customer_email_notification_templates');
do_action('latepoint_step_confirmation_customer_info', $customer, $booking);
do_action('latepoint_step_verify_customer_info', $customer, $booking);
// Latepoint Core
do_action('latepoint_includes');
do_action('latepoint_init');
do_action('latepoint_wp_enqueue_scripts');
do_action('latepoint_admin_enqueue_scripts');
do_action('latepoint_on_addon_activate', $addon_name, $version);
// Booking Process Steps
do_action('latepoint_step_confirmation_before', $booking);
do_action('latepoint_step_confirmation_head_info_before', $booking);
do_action('latepoint_step_confirmation_head_info_after', $booking);
do_action('latepoint_step_confirmation_appointment_info', $booking);
do_action('latepoint_process_step', $current_step, $booking);
do_action('latepoint_custom_step_info', $step_name);
do_action('latepoint_step_confirmation_payment_info', $booking);
do_action('latepoint_payment_step_content', $booking, $enabled_payment_times);
do_action('latepoint_step_verify_appointment_info', $booking);
do_action('latepoint_step_verify_payment_info', $booking);
do_action('latepoint_steps_side_panel_after', $active_step_model);
do_action('latepoint_load_step', $active_step_model_name, $booking, $format, $restrictions);
// Database Object Models
do_action('latepoint_model_set_data', $model, $data);
do_action('latepoint_model_save', $model);
do_action('latepoint_model_validate', $model, $alternative_validation);
// Calendars
do_action('latepoint_calendar_daily_timeline', $target_date, $settings);
do_action('latepoint_appointments_timeline', dateTime $target_date, $settings);
// Locations
do_action('latepoint_locations_index');
// Notifications
do_action('latepoint_notifications_settings_sms');
do_action('latepoint_reminders_index');
// Admin layout and settings pages
do_action('latepoint_top_bar_before_actions');
do_action('latepoint_top_bar_after_actions');
do_action('latepoint_top_bar_mobile_after_user');
do_action('latepoint_payment_processor_settings', $payment_processor_code);
do_action('latepoint_settings_steps_list_after');
do_action('latepoint_settings_steps_after');
// Variables
do_action('latepoint_available_vars_booking');
do_action('latepoint_available_vars_customer');
do_action('latepoint_available_vars_after');
Filter hooks in LatePoint
// Database Model Objects
apply_filters('latepoint_get_results_as_models', $model);
apply_filters('latepoint_model_loaded_by_id', $this);
apply_filters('latepoint_model_allowed_params', $allowed_params, $this, $role);
apply_filters('latepoint_customer_model_validations', $validations);
// Javascript variables
apply_filters('latepoint_localized_vars_front', $localized_vars);
apply_filters('latepoint_localized_vars_admin', $localized_vars);
// CSV Export
apply_filters('latepoint_booking_row_for_csv_export', $values_row, $booking, $filter_params);
apply_filters('latepoint_bookings_data_for_csv_export', $bookings_data, $filter_params);
apply_filters('latepoint_customer_row_for_csv_export', $values_row, $customer, $filter_params);
apply_filters('latepoint_customers_data_for_csv_export', $customers_data, $filter_params);
// Payments
apply_filters('latepoint_filter_payment_total_info', $html, $booking);
apply_filters('latepoint_payment_methods_for_select', $payment_methods_list);
apply_filters('latepoint_payment_processors', $payment_processors, $enabled_only);
apply_filters('latepoint_all_payment_methods', $payment_methods);
apply_filters('latepoint_enabled_payment_methods', $enabled_payment_methods);
apply_filters('latepoint_process_payment_for_booking', $payment_processing_result, $booking, $booking->customer);
apply_filters('latepoint_full_amount_for_service', $amount_for_service, $booking, $apply_coupons);
apply_filters('latepoint_full_amount', $amount, $booking, $apply_coupons);
apply_filters('latepoint_deposit_amount_for_service', $amount_for_service, $booking, $apply_coupons);
apply_filters('latepoint_deposit_amount', $amount, $booking, $apply_coupons);
apply_filters('latepoint_convert_charge_amount_to_requirements', $charge_amount, $payment_method);
apply_filters('latepoint_other_reasons_to_show_payment_step', bool $value);
apply_filters('latepoint_full_amount_for_service_extra', $service_extra_price, $booking, $service_extra, $apply_coupons);
apply_filters('latepoint_need_to_show_payment_step', bool $value);
apply_filters('latepoint_payment_sub_step_for_payment_step', $payment_sub_step);
// Variables
apply_filters('latepoint_replace_customer_vars', $text, $customer);
apply_filters('latepoint_replace_tracking_vars', $text, $booking);
apply_filters('latepoint_replace_booking_vars', $text, $booking);
apply_filters('latepoint_replace_all_vars_in_template', $text, $vars);
// Admin
apply_filters('latepoint_bookings_table_columns', $available_columns);
// Booking form and booking steps
apply_filters('latepoint_summary_values', $selectable_values);
apply_filters('latepoint_default_fields_for_customer', $default_fields);
apply_filters('latepoint_prepare_step_vars_for_view', $vars_for_view, $booking_object, $step_name);
apply_filters('latepoint_prepare_step_booking_object', $booking_object, $step_name);
apply_filters('latepoint_step_names_in_order', $default_steps, $show_all_steps);
apply_filters('latepoint_should_step_be_skipped', $skip, $step_name, $booking_object);
apply_filters('latepoint_step_show_next_btn_rules', $step_show_btn_rules, $step_name);
apply_filters('latepoint_calculated_total_duration', $total_duration, $this);
apply_filters('latepoint_before_booking_save_frontend', $this);
apply_filters('latepoint_steps_defaults', $defaults);
apply_filters('latepoint_has_sms_processors', bool $value);
apply_filters('latepoint_booking_form_classes', []);
apply_filters('latepoint_can_add_custom_steps', bool $value);
// Misc
apply_filters('latepoint_agent_role', $agent_role);
apply_filters('latepoint_installed_addons', $installed_addons);
apply_filters('latepoint_addons_sqls', $sqls);
apply_filters('latepoint_side_menu', $menus);
apply_filters('latepoint_encrypted_settings',$encrypted_settings);
apply_filters('latepoint_locations_addon_installed', bool $value);
apply_filters('latepoint_reminders_addon_installed', bool $value);
apply_filters('latepoint_filter_booked_periods', $booked_periods_arr, $date, $agent_id);
apply_filters('latepoint_filter_booked_periods_for_range', $booked_periods_arr, $range_start_date, $range_end_date, $args);
Was this doc helpful?
What went wrong?
We don't respond to the article feedback, we use it to improve our support content.
On this page
