How do I add custom field to Admin comment form and display


I am talking about the back-end not the front end of the website. I have added custom fields to my comments on the front end of the site and want to display the results on the back-end. Each comment now has several star ratings that are saved the comment meta system.

I created a custom post type and modified the comment.php file to only add these fields to that post type. When viewing the post on the back-end I am looking for filters or actions that will allow me to modify the following items:

  1. Add the custom field to the add comments form within the comments meta box.
  2. Display the custom field in the list of comments in the meta box.

No Plugins please.

After many hours of searching there are no answers for this question on google. I dont know if it is even possible.

, james 4 years 2020-03-04T15:51:16-05:00 0 Answers 67 views 0

Leave an answer