Comments.php 259 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 <?php namespace ACP\Export\Model\Post; use ACP\Export\Model; /** * Comments (default column) exportability model * @since 4.1 */ class Comments extends Model { public function get_value( $id ) { return wp_count_comments( $id )->total_comments; } }