wpseek.com
A WordPress-centric search engine for devs and theme authors



get_comment_link › WordPress Filter Hooks

Since4.4.0
Deprecatedn/a
apply_filters( 'get_comment_link', $comment_link, $comment, $args, $cpage )
Parameters: (4)
  • (string) $comment_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
Defined at:
Codex:

Filters the returned single comment permalink.





Source

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