wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_comment_type › Les Filtres WordPress

Depuis4.1.0
Dépréciéen/a
apply_filters( 'get_comment_type', $comment->comment_type, $comment->comment_ID, $comment )
Paramètres: (3)
  • (string) $comment_type The type of comment, such as 'comment', 'pingback', or 'trackback'.
    Requis: Oui
  • (string) $comment_id The comment ID as a numeric string.
    Requis: Oui
  • (WP_Comment) $comment The comment object.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the returned comment type.





Source

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