wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_comment_type › WordPress Filter Hooks

Da4.1.0
Deprecaton/a
apply_filters( 'get_comment_type', $comment->comment_type, $comment->comment_ID, $comment )
Parametri: (3)
  • (string) $comment_type The type of comment, such as 'comment', 'pingback', or 'trackback'.
    Richiesto:
  • (string) $comment_id The comment ID as a numeric string.
    Richiesto:
  • (WP_Comment) $comment The comment object.
    Richiesto:
Definito a:
Codex:

Filters the returned comment type.





Sorgenti

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