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



get_comment_type › Hooks de Filtros WordPress

Desde4.1.0
Obsoleton/a
apply_filters( 'get_comment_type', $comment->comment_type, $comment->comment_ID, $comment )
Parâmetros: (3)
  • (string) $comment_type The type of comment, such as 'comment', 'pingback', or 'trackback'.
    Required: Yes
  • (string) $comment_id The comment ID as a numeric string.
    Required: Yes
  • (WP_Comment) $comment The comment object.
    Required: Yes
Definido em:
Codex:

Filters the returned comment type.





Fonte

return apply_filters( 'get_comment_type', $comment->comment_type, $comment->comment_ID, $comment );