Last active
December 12, 2015 09:39
-
-
Save JoeHana/4753013 to your computer and use it in GitHub Desktop.
Adds the possibility to have custom price labels
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Custom Price Labels | |
*/ | |
add_filter( 'wpcasa_get_price_labels', 'custom_price_labels' ); | |
function custom_price_labels($property_price_labels) { | |
$property_price_labels = array( | |
'sold' => __( 'SOLD', 'wpcasa' ), | |
'rented' => __( 'RENTED', 'wpcasa' ), | |
'request' => __( 'ON REQUEST', 'wpcasa' ) | |
); | |
return $property_price_labels; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment