epl_property_additional_features_list

The easiest way to add additional features to a listing is with the Features taxonomy which works just like post tags.

epl_property_additional_features_list

Features handled by this filter

$additional_features 	= array (
	'property_remote_garage',
	'property_secure_parking',
	'property_study',
	'property_dishwasher',
	'property_built_in_robes',
	'property_gym',
	'property_workshop',
	'property_rumpus_room',
	'property_floor_boards',
	'property_broadband',
	'property_pay_tv',
	'property_vacuum_system',
	'property_intercom',
	'property_spa',
	'property_tennis_court',
	'property_balcony',
	'property_deck',
	'property_courtyard',
	'property_outdoor_entertaining',
	'property_shed',
	'property_open_fire_place',
	'property_ducted_heating',
	'property_ducted_cooling',
	'property_split_system_heating',
	'property_hydronic_heating',
	'property_split_system_aircon',
	'property_gas_heating',
	'property_reverse_cycle_aircon',
	'property_evaporative_cooling',
	'property_land_fully_fenced'	
);

Add additional custom fields to the list

This filter allows you to add your custom fields to the features list output.

Once you have added your new custom field eg: property_my_new_custom_field you can add it to the epl_property_additional_features_list filter

function my_epl_property_additional_features_list( $array ) {
	$array[] = 'property_my_new_custom_field'; //whatever your new field name is
	return $array;
}
add_filter( 'epl_property_additional_features_list' , 'my_epl_property_additional_features_list' );

Replace features displayed

You can replace the entire list of additional features items using this additional filter:

function my_list_epl_property_additional_features_list( $array ) {
	$new_array = $array; // Original items in array

	$new_array = array(
		'property_remote_garage',
		'property_secure_parking',
	);
	return $new_array;
}
add_filter( 'epl_property_additional_features_list' , 'my_list_epl_property_additional_features_list' );

Remove a specific feature

You can remove a specific feature from the entire list of additional features items using this additional filter:

function my_remove_item_epl_property_additional_features_list( $array ) {
	if( isset($array['property_rumpus_room']) )
		unset($array['property_rumpus_room']); 
	return $array;
}
add_filter( 'epl_property_additional_features_list' , 'my_remove_item_epl_property_additional_features_list' );