Uma área de pesquisa sobre o WordPress para devs e autores do tema



edit_comment_link ›

Desde2.3.0
Obsoleton/a
apply_filters( 'edit_comment_link', $link, $comment->comment_ID, $text )
Parâmetros: (3)
  • (string) $link Anchor tag for the edit link.
    Required: Yes
  • (int) $comment_id Comment ID.
    Required: Yes
  • (string) $text Anchor text.
    Required: Yes
Definido em:
Codex:

Filters the comment edit link anchor tag.





Fonte

echo $before . apply_filters( 'edit_comment_link', $link, $comment->comment_ID, $text ) . $after;