Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hello Lee,

    Please, modify the line code you typed in your comment to move the addon hook, the ones must be added on functions.php file theme.

    Correct code line is as follow:

    if ( class_exists( ‘WP_Hotel_Booking_Room_Extension’ ) ) {
    $booking_room = WP_Hotel_Booking_Room_Extension::instance();

    remove_action( ‘hotel_booking_single_room_title’, array( $booking_room, ‘single_add_button’ ), 9 );
    add_action( ‘hotel_booking_single_room_gallery’, array( $booking_room, ‘single_add_button’ ), 20 );
    }
    I wasted a while trying to make it works until I discover the mistake at “Extenstion”

    Kind regards

Viewing 1 replies (of 1 total)