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



edit_comment_link › Hooks de Filtros WordPress

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
  • (string) $comment_id Comment ID as a numeric string.
    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;