Skip to content

Comments: create new endpoint for comment counts #19477

@vindl

Description

@vindl

We need to create a new comments-count endpoint (or similar) that will return the number of comments for each status (all, approved, unapproved, spam, and trash). Its needed in order to display these counts next to status labels in comment navigation component.

screenshot from 2017-11-02 18-05-32

Metadata

Metadata

Assignees

Labels

Task[Feature] CommentsComments on posts and the admin screen for managing them.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions