0.00  View Cart

[Important note - 2019-01-07] If your translations don't work anymore after updating Easy Booking to version 2.2.0, you need to rename your .mo/.po files as follow (replace "fr_FR" by your own language code):

To change event name, use the following filter:

add_filter( 'easy_booking_calendar_event_summary', 'add_custom_event_name', 10, 3 );

function add_custom_event_name( $name, $order_item, $order ) {

    $name = '#' . absint( $order->get_order_number() ) . ' - ' . $order_item->get_name(); // Default name
    return $name;
    
}

To change event description, use the following filter:

add_filter( 'easy_booking_calendar_event_description', 'add_custom_event_description', 10, 3 );

function add_custom_event_description( $description, $order_item, $order ) {

    $description = ''; // Default: empty
    return $description;

}