A WordPress-centric search engine for devs and theme authors



get_comment_link ›

Since4.4.0
Deprecatedn/a
apply_filters( 'get_comment_link', $link, $comment, $args, $cpage )
Parameters: (4)
  • (string) $link The comment permalink with '#comment-$id' appended.
    Required: Yes
  • (WP_Comment) $comment The current comment object.
    Required: Yes
  • (array) $args An array of arguments to override the defaults.
    Required: Yes
  • (int) $cpage The calculated 'cpage' value.
    Required: Yes
See:
  • get_page_of_comment()
Defined at:
Codex:

Filters the returned single comment permalink.





Source

return apply_filters( 'get_comment_link', $link, $comment, $args, $cpage );