How Delete Listing Attributes

I need to delete the listing attributes for “Minimum booking duration” & “Maximum booking duration”.

I saw the thread with the PHP snippet to do this, but I need more help. If you provide a PHP snippet, can you give me detailed, exact directions on how to do it?

Please try this PHP snippet. Please use the Code Snippets plugin to add and manage custom PHP code snippets Code Snippets – WordPress plugin | WordPress.org

add_filter(
	'hivepress/v1/forms/listing_update',
	function( $form ) {
		unset( $form['fields']['booking_min_length'] );
		unset( $form['fields']['booking_max_length'] );

		return $form;
	},
	1000
);