bb_post_text_context

The BuddyPress bb post text context function.

Description

bb_post_text_context( $post_text ); 

Parameters (1)

0. $post_text
The post text.

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-formatting.php  
  1. function bb_post_text_context( $post_text ) { 
  2. return bb_show_context( $GLOBALS['q'], $post_text );