On our site the author url is almost always an IP. I want to show a visual flag next to the IP url if it matches a certain pattern. I just need to understand how to modify the output in the author column.

The closest I have found is this: What filter/action hook can I use to add a few links to the admin comments page?

But that is 10 years old now.

I think I can filter get_comment_author_url but I am not sure of the scope of such as change.

Or if I can somehow modify [WP_Comments_List_Table::column_author][1]?

I could add a new custom column but that's not ideal in terms of screen real-estate.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.