I am using a piece of code to show the city output. It is working fine. The code is given here:
$city = get_comment_meta( get_comment_ID(), 'city', true );
I want to show Re: text before the output of above code.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityIf you just want to add a string it would be:
$city = "Re: " . get_comment_meta( get_comment_ID(), 'city', true );
$city = "Re: " . get_etcetera.
. Else I don't know what you are trying to achieve.