New answers tagged

0

Seems pretty much simple: add_filter( 'get_comment_author_link', 'attach_city_to_author' ); function attach_city_to_author( $author ) { $city = get_comment_meta( get_comment_ID(), 'city', true ); if ( $city ) $author = $city; return $author; } Unless if you are adding the city name somewhere else and wanted to remove comment author name then ...



Top 50 recent answers are included