qtrans_split

The Advanced Custom Fields: qTranslate qtrans split function.

Description

qtrans_split( $text, (constant) $quicktags = true ); 

Parameters (2)

0. $text
The text.
1. $quicktags — Optional. (constant) => true
The quicktags.

Usage

  1. if ( !function_exists( 'qtrans_split' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'advanced-custom-fields-qtranslate/compatibility/ppqtranslate.php'; 
  3.  
  4. // The text. 
  5. $text = null; 
  6.  
  7. // The quicktags. 
  8. $quicktags = true; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = qtrans_split($text, $quicktags); 
  12.  

Defined (2)

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

/compatibility/ppqtranslate.php  
  1. function qtrans_split($text, $quicktags = true) { 
  2. return ppqtrans_split($text, $quicktags); 
/compatibility/qtranslatex.php  
  1. function qtrans_split($text, $quicktags = true) { 
  2. return qtranxf_split($text, $quicktags);