balanceTags

Balances tags if forced to, or if the 'use_balanceTags' option is set to true.

Description

balanceTags( $text ); 

Parameters (1)

0. $text
The text.

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php  
  1. function balanceTags( $text ) { 
  2. bb_log_deprecated('function', __FUNCTION__, 'force_balance_tags'); 
  3. return force_balance_tags( $text );