epl_opts_rent_period_filter

Use this filter to adjust the rental options to change or add your own rental periods.

Default

$opts_rent_period = apply_filters (  'epl_opts_rent_period_filter', array(
		'day'		=>	__('Day', 'epl'),
		'daily'		=>	__('Daily', 'epl'),
		'week'		=>	__('Week', 'epl'),
		'weekly'	=>	__('Weekly', 'epl'),
		'month'		=>	__('Month', 'epl'),
		'monthly'	=>	__('Monthly', 'epl')
	)
);

Custom

// Easy Property Listings Rental Options Filter
function my_epl_opts_rent_period_filter() {
	$opts_rent_period = array(
		'day'		=>	__('Day', 'epl'),
		'week'		=>	__('Week', 'epl'),
		'month'		=>	__('Month', 'epl'),
		'year'		=>	__('Year', 'epl'),
	);
	return $opts_rent_period;
}
add_filter( 'epl_opts_rent_period_filter' , 'my_epl_opts_rent_period_filter' );