bb_get_recent_user_replies_fields

The BuddyPress bb get recent user replies fields function.

Description

bb_get_recent_user_replies_fields( $fields ); 

Parameters (1)

0. $fields
The fields.

Usage

  1. if ( !function_exists( 'bb_get_recent_user_replies_fields' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-posts.php'; 
  3.  
  4. // The fields. 
  5. $fields = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bb_get_recent_user_replies_fields($fields); 
  9.  

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-posts.php  
  1. function bb_get_recent_user_replies_fields( $fields ) { 
  2. return 'MAX( p.post_id ) AS post_id';