Viewing 2 replies - 1 through 2 (of 2 total)
  • I hope I am understanding you correctly, however, what I think you want is this:

    <a href="<?php echo get_edit_comment_link() ?>" title="Edit Comment"><img src="/link/to/image" /></a>

    The difference between edit_comment_link() and get_edit_comment_link() is that the second one returns the URL of the edit link.

    Thread Starter vahyd

    (@vahyd)

    thanks. I tried it earlier but no success.. But now got it to work..
    So I should if (current_user_can(edit_comment)) before the link.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘image link for edit comment link’ is closed to new replies.