get_edit_comment_link
get_edit_comment_link ( $comment_id = 0, $context = 'display' )
Parameters:- (int|WP_Comment) comment_id Optional. Comment ID or WP_Comment object.
- (string) context Optional. Context in which the URL should be used. Either 'display', to include HTML entities, or 'url'. Default 'display'.
Returns:- (string|void) The edit comment link URL for the given comment, or void if the comment id does not exist or the current user is not allowed to edit it.
Defined at:Change Log: - Introduced in WordPress: 2.3.0
- Deprecated in WordPress: —
Description
Retrieves the edit comment link.