JoeHana
8/9/2016 - 1:17 AM

Add custom text (from) before price

Add custom text (from) before price

/**
 * Add custom text (from) before price
 */
add_filter( 'wpsight_get_listing_price_before', 'custom_get_listing_price_before' );

function custom_get_listing_price_before( $value ) {
  
  $value .= '<small>' . __('from', 'wpcasa' ) . '</small> ';
  return $value;
  
}