approve,spam,trash etc. options are not coming on comments in admin panel
I found a way to hijack the comment before it’s attached to its post in the DB. Using the snippet below you can attach every comment to your dummy post. Just change COMMENT_ID to the ID of your dummy post. No hacking of core needed! <?php add_filter(‘preprocess_comment’, ‘akt_hijack_comment’); function akt_hijack_comment($comment) { define(‘AKT_REDIRECT_URL’, $comment[‘comment_post_ID’]); $comment[‘comment_post_ID’] = … Read more