CommentTags final class
Minn\Runtime\CommentTags · public/minn/src/Minn/Runtime/CommentTags.php · 59 lines
What the comment template tags tell about a comment (the one being read when none is named): when it was written and its author's address, each through the filter plugins hook there.
Public
| static | link(mixed $comment = NULL, mixed $args = array ( )): mixed# | A comment's address, at the page of comments it is on (get_comment_link), as get_comment_link leaves it. |
| static | postLink(mixed $post = 0): mixed# | A post's address at its comments, or at the form when it has none (get_comments_link), as get_comments_link leaves it. |
| static | author(mixed $commentId = 0): mixed# | A comment's author (get_comment_author), "Anonymous" for none, as get_comment_author leaves it. |
| static | authorRss(): mixed# | The author of the comment being read, for a feed (get_comment_author_rss), as comment_author_rss leaves it. |
| static | time(mixed $format = '', mixed $gmt = false, mixed $translate = true, mixed $commentId = 0): mixed# | When a comment was written (get_comment_time): in the format given or the site's time format, local or UTC, names translated unless asked not to be; empty for no comment. |
| static | authorUrl(mixed $commentId = 0): mixed# | A comment author's address, escaped (get_comment_author_url); empty when none was given. |
Nothing matches.