1) Code display all rental type
add_filter( 'ovabrw_get_rental_type_name', function() {
return [
'day' => esc_html__( '1: Day', 'ova-brw' ),
'hour' => esc_html__( '2: Hour', 'ova-brw' ),
'mixed' => esc_html__( '3: Mixed (Day and Hour)', 'ova-brw' ),
'period_time' => esc_html__( '4: Period of Time ( 05:00 am - 10:00 am, 1 day, 2 days, 1 month, 6 months, 1 year... )', 'ova-brw' ),
'transportation' => esc_html__( '5: Transportation', 'ova-brw' ),
'taxi' => esc_html__( '6: Taxi', 'ova-brw' ),
'hotel' => esc_html__( '7: Hotel', 'ova-brw' ),
'appointment' => esc_html__( '8: Appointment', 'ova-brw' )
];
});
2) If you want to remove taxi, hotel, you can use bellow code
add_filter( 'ovabrw_get_rental_type_name', function() {
return [
'day' => esc_html__( '1: Day', 'ova-brw' ),
'hour' => esc_html__( '2: Hour', 'ova-brw' ),
'mixed' => esc_html__( '3: Mixed (Day and Hour)', 'ova-brw' ),
'period_time' => esc_html__( '4: Period of Time ( 05:00 am - 10:00 am, 1 day, 2 days, 1 month, 6 months, 1 year... )', 'ova-brw' ),
'transportation' => esc_html__( '5: Transportation', 'ova-brw' ),
'appointment' => esc_html__( '8: Appointment', 'ova-brw' )
];
});