bbp_author_ip

Output the author IP address of a post.

Description

bbp_author_ip( (string) $args = '' ); 

Parameters (1)

0. $args — Optional. (string) => ''
If it is an integer, it is used as post id.

Usage

  1. if ( !function_exists( 'bbp_author_ip' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/users/template.php'; 
  3.  
  4. // Optional. If it is an integer, it is used as post id. 
  5. $args = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bbp_author_ip($args); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/users/template.php  
  1. function bbp_author_ip( $args = '' ) { 
  2. echo bbp_get_author_ip( $args );