Automatically Put All WordPress Trackbacks InTo Comment Moderation Queue

Use the following hack in your WordPresss theme’s function.php file for automatically adding all trackbacks into comment moderation list.

function mdv_moderate_trackback($approved) {

global $wp_query;

if (1 == $approved && $wp_query->is_trackback)
$approved = 0;

return $approved;
}

add_filter(‘pre_comment_approved’, ‘mdv_moderate_trackback’, 20);

?>

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.