wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



get_comment_author_ip › WordPress Filter Hooks

Seit4.1.0
Veraltetn/v
apply_filters( 'get_comment_author_IP', $comment->comment_author_IP, $comment->comment_ID, $comment )
Parameter: (3)
  • (string) $comment_author_ip The comment author's IP address, or an empty string if it's not available.
    Erforderlich: Ja
  • (string) $comment_id The comment ID as a numeric string.
    Erforderlich: Ja
  • (WP_Comment) $comment The comment object.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the comment author's returned IP address.





Quellcode

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