> For the complete documentation index, see [llms.txt](https://ovatheme.gitbook.io/brw/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ovatheme.gitbook.io/brw/customize-rental-type/remove-rental-type.md).

# Remove Rental Type

<figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2FeOxBY14Mq5O0iE7jtLpT%2FScreenshot%202026-04-17%20at%2016.59.01.png?alt=media&amp;token=d12f3303-07d1-4363-9b4b-3688cc058c36" alt=""><figcaption></figcaption></figure>

If you only want to display one or several rental types in the list, you can add code to the `functions.php` file in your theme or child theme.

#### **1) Display all rental type**

```
// Display all rental type
add_filter( 'ovabrw_rental_selector', function( $rental_type ) {
	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

```
// If you want to remove taxi, hotel, you can use bellow code
add_filter( 'ovabrw_rental_selector', function( $rental_type ) {
	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' )
	];
});
```

<figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2FHoJCISb2QfYXlrrSBrzm%2FScreenshot%202026-04-17%20at%2017.26.42.png?alt=media&amp;token=d8cd2fd8-c3b4-4db4-b9b4-b72ff3a7d92d" alt=""><figcaption></figcaption></figure>

#### 3) If you want to only display "Day", you can use bellow code

```
// If you want to only display Day, you can use bellow code
add_filter( 'ovabrw_rental_selector', function( $rental_type ) {
	return [
		'day'				=> esc_html__( '1: Day', 'ova-brw' )
	];
});
```

<figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2FJ6Fq8tK58ALYxWKS3PRr%2FScreenshot%202026-04-17%20at%2017.24.57.png?alt=media&amp;token=32373611-d2d5-4a81-a6e6-ab00f9e0d66f" alt=""><figcaption></figcaption></figure>
