wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_comment_type › Filtr WordPress Hooks

Od4.1.0
Przestarzałyn/a
apply_filters( 'get_comment_type', $comment->comment_type, $comment->comment_ID, $comment )
Parametry: (3)
  • (string) $comment_type The type of comment, such as 'comment', 'pingback', or 'trackback'.
    Wymagane: Tak
  • (string) $comment_id The comment ID as a numeric string.
    Wymagane: Tak
  • (WP_Comment) $comment The comment object.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the returned comment type.





Źródło

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