wordpress_ex v0.1.1 WordpressEx.Comments View Source

Wordpress Comment endpoints

Link to this section Summary

Functions

Get a single comment from id

Get a list of commnents

Link to this section Functions

Get a single comment from id

Examples:

WordpressEX.Comments.find(123)
WordpressEX.Comments.find(123, context: "view")

API Reference

https://developer.wordpress.org/rest-api/reference/comments/#retrieve-a-comment

Get a list of commnents

Examples:

WordpressEx.Comments.list()
WordpressEx.Comments.list(page: 2, per_page: 3)

API Reference

https://developer.wordpress.org/rest-api/reference/comments/#list-comments