Timber\Post::get_comments PHP Метод

get_comments() публичный Метод

Get the comments for a post
См. также: Timber\Post::comments
public get_comments ( integer $count, string $order = 'wp', string $type = 'comment', string $status = 'approve', string $CommentClass = 'Timber\Comment' ) : array | mixed
$count integer
$order string
$type string
$status string
$CommentClass string
Результат array | mixed
    public function get_comments($count = 0, $order = 'wp', $type = 'comment', $status = 'approve', $CommentClass = 'Timber\\Comment')
    {
        return $this->comments($count, $order, $type, $status, $CommentClass);
    }