Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_comment_author_ip [ WordPress Function ]

get_comment_author_ip ( $comment_ID = 0 )
Parameters:
  • (int) $comment_ID The ID of the comment for which to get the author's IP address. Optional.
Uses:
Returns:
  • (string) The comment author's IP address.
Defined at:



Retrieve the IP address of the author of the current comment.

Source


<?php
function get_comment_author_IP$comment_ID ) {
    
$comment get_comment$comment_ID );
    return 
apply_filters('get_comment_author_IP'$comment->comment_author_IP);
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics