Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Latest commit

 

History

History
43 lines (33 loc) · 1.25 KB

File metadata and controls

43 lines (33 loc) · 1.25 KB

comment

WPS::comment_remove_url_field

Remove the url field from the comment form

WPS::comment_remove_url_field();

Full documentation

WPS::comments

Get the post comments depending on the arguments you've passed. The arguments are the same as the one of get_comments wordpress function. This function return an array of \WPS\Comment objects.

$comments = WPS::comments();

Full documentation

See more

WPS::recent_comments

Get some recent comments depending on the arguments you've passed. The arguments are the same as the one of get_comments wordpress function. This function return an array of WPS_Comment objects.

$comments = WPS::recent_comments([
  'number' => 3
]);

Full documentation

See more