• I am trying to modify the_meta() function so that my custom fields “Mileage”, “Price”, “Year” all have display number formatting with (respectively) commas, with commas and dollar sign, and with no commas or dollar sign.

    I know to use money_format() and number_format(), but I do not know how to apply each one to the correct value. How could I isolate a specific key and modify its value format within the_meta()?

The topic ‘custom the_meta(); format’ is closed to new replies.