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



get_comment_author_ip › WordPress Filter Hooks

Da4.1.0
Deprecaton/a
apply_filters( 'get_comment_author_IP', $comment->comment_author_IP, $comment->comment_ID, $comment )
Parametri: (3)
  • (string) $comment_author_ip The comment author's IP address, or an empty string if it's not available.
    Richiesto:
  • (string) $comment_id The comment ID as a numeric string.
    Richiesto:
  • (WP_Comment) $comment The comment object.
    Richiesto:
Definito a:
Codex:

Filters the comment author's returned IP address.





Sorgenti

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