Codex tools: Log in / create account
Contents |
Displays a link to edit the current comment, if the user is logged in and allowed to edit the comment. It must be within The Loop, and within a comment loop.
<?php edit_comment_link( $link, $before, $after ); ?>
Displays edit comment link using defaults.
<?php edit_comment_link(); ?>
Displays edit comment link, with link text "edit comment", in a paragraph (<p>) tag.
<?php edit_comment_link('edit comment', '<p>', '</p>'); ?>
Since: 1.0.0
edit_comment_link() is located in wp-includes/link-template.php.
edit_post_link, edit_comment_link, edit_tag_link, edit_bookmark_link