Tag Info

Hot answers tagged

1

You can not enable comments in future posts. Those posts are not public and are not private, so they verify the conditional in line 61 of wp-comments-post.php file; that conditional is (WP 4.1.1): } elseif ( ! $status_obj->public && ! $status_obj->private ) { /** * Fires when a comment is attempted on a post in draft mode. * ...


1

This should do the trick, I guess: $args = array( 'number' => 10, 'order' => 'DESC', 'status' => 'approve', 'parent' => 0 ); $comments = get_comments( $args ); You can find full list of arguments in Codex.


1

The filter you're looking for is manage_edit-comments_columns. Here is a post detailing how to add custom columns to the edit comments section of the admin http://stv.whtly.com/2011/07/27/adding-custom-columns-to-the-wordpress-comments-admin-page/



Only top voted, non community-wiki answers of a minimum length are eligible