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:
  • 6: .

Description

Retrieves the edit comment link.

Related Functions

edit_comment_link, get_next_comments_link, get_comment_link, get_comments_link, get_edit_post_link

Top Google Results

User discussions

wpseek mobile