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



get_comment_link › WordPress Function

Since1.5.0
Deprecatedn/a
get_comment_link ( $comment = null, $args = array() )
Parameters: (2)
  • (WP_Comment|int|null) $comment Optional. Comment to retrieve. Default current comment.
    Required: No
    Default: null
  • (array) $args { An array of optional arguments to override the defaults. @type string $type Passed to get_page_of_comment(). @type int $page Current page of comments, for calculating comment pagination. @type int $per_page Per-page value for comment pagination. @type int $max_depth Passed to get_page_of_comment(). @type int|string $cpage Value to use for the comment's "comment-page" or "cpage" value. If provided, this value overrides any value calculated from `$page` and `$per_page`. }
    Required: No
    Default: array()
See:
Returns:
  • (string) The permalink to the given comment.
Defined at:
Codex:
Change Log:
  • 4.4.0

Retrieves the link to a given comment.



Source

Soon...