Summery Summery
Display the link to the comments.
Syntax Syntax
Parameters Parameters
- $comment
-
(Optional) Comment object or id. Defaults to global comment object.
Default value: null
Source Source
File: wp-includes/feed.php
* @since 4.4.0 Introduced the `$comment` argument. * * @param int|WP_Comment $comment Optional. Comment object or ID. Defaults to global comment object. */ function comment_link( $comment = null ) { /** * Filters the current comment's permalink. * * @since 3.6.0 * * @see get_comment_link() *
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced the $comment argument. |
1.5.0 | Introduced. |