_wp_kses_split_callback

Callback for wp_kses_split.

Description

(string) _wp_kses_split_callback( $match ); 

Returns (string)

Parameters (1)

0. $match
The match.

Usage

  1. if ( !function_exists( '_wp_kses_split_callback' ) ) { 
  2. require_once ABSPATH . WPINC . '/kses.php'; 
  3.  
  4. // The match. 
  5. $match = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = _wp_kses_split_callback($match); 
  9.  

Defined (1)

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

/wp-includes/kses.php  
  1. function _wp_kses_split_callback( $match ) { 
  2. global $pass_allowed_html, $pass_allowed_protocols; 
  3. return wp_kses_split2( $match[0], $pass_allowed_html, $pass_allowed_protocols );