Closed sebasrobert closed 10 months ago
Hi @sebasrobert ! Thank you for pointing this out and even going an extra mile and contributing to the library. I have added a comment regarding removal of the deprecated enum value. Could you please review this and let me know?
@sebasrobert I have merged this to the master branch. will upload a new version in few minutes. Thanks for the contribution!
Additionally, You can use the extra
parameter on all requests to override an internal key-value pair or add a new one!
The comment status to filter the comments should be 'approve' instead of 'approved' otherwise no results are returned. This has been tested with postman has we were unable to list the comments. You can look at the following reference from the wordpress documentation. The approved CommentStatus has been left in the code as it might be useful for other request type.
See https://developer.wordpress.org/rest-api/reference/comments/#definition