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



get_comment_author_ip › Les Filtres WordPress

Depuis4.1.0
Dépréciéen/a
apply_filters( 'get_comment_author_IP', $comment->comment_author_IP, $comment->comment_ID, $comment )
Paramètres: (3)
  • (string) $comment_author_ip The comment author's IP address, or an empty string if it's not available.
    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 comment author's returned IP address.





Source

return apply_filters( 'get_comment_author_IP', $comment->comment_author_IP, $comment->comment_ID, $comment );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase