skip to Main Content
< All Articles
Print

rem_property_field_value_separator

This filter can be used to change the field value separators used in Single Property Pages. By default, it displays colons.

Arguments

  1. Colons : [String]
  2. Field Data Name [String]
  3. Field’s All Data [Array]
  4. Property ID [Integer]

Example

The following code will display an equal sign instead of colons between field name and value. Please paste the following code in your theme’s functions.php file.

add_filter( 'rem_property_field_value_separator', 'rem_property_change_value_separator', 10, 1 );

function rem_property_change_value_separator($sep){
	return '=';
}

 

Quick Navigation
Back To Top