Customizes the wording for properties (custom name instead of Property ID
<?php
/**
* Customizes the wording for properties (custom name instead of Property ID
*/
add_filter('wpcasa_property_details_id', 'custom_property_details_id');
function custom_property_details_id($property_details_id) {
$property_details_id = '<div class="' . wpcasa_get_span( 'small' ) . '">' . "\n";
$property_details_id .= '<span class="property-details-label">' . __( 'Apartment ID', 'wpcasa' ) . ':</span>' . "\n";
$property_details_id .= '<span class="property-details-value">' . wpcasa_get_property_id( get_the_ID() ) . '</span><!-- .apartment-id-value -->' . "\n";
$property_details_id .= '</div><!-- .property-details-id -->' . "\n";
return $property_details_id;
}