wphooks.info - comment_link

comment_link

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/feed.php:
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
function comment_link( $comment = null ) {
	/**
	 * Filters the current comment's permalink.
	 *
	 * @since 3.6.0
	 *
	 * @see get_comment_link()
	 *
	 * @param string $comment_permalink The current comment permalink.
	 */
	echo esc_url( apply_filters( 'comment_link', get_comment_link( $comment ) ) );
}

/**
 * Retrieve the current comment author for use in the feeds.
 *
 * @since 2.0.0
 *
 * @return string Comment Author
 */