rem_ribbon_text

This filter is responsible for rendering the text of the ribbon

Arguments

  1. Text to Display [string]
  2. Property ID [integer]

Example

Suppose you want to add a ribbon text Sold to those properties which have their Property Status set to Sold, paste the following code inside the functions.php file of your theme.