preview_theme_ob_filter_callback

Manipulates preview theme links in order to control and maintain location.

Description

(string) preview_theme_ob_filter_callback( (array) $matches ); 

Callback function for preg_replace_callback() to accept and filter matches.

Returns (string)

Parameters (1)

0. $matches (array)
The matches.

Usage

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

Defined (1)

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

/wp-includes/deprecated.php  
  1. function preview_theme_ob_filter_callback( $matches ) { 
  2. _deprecated_function( __FUNCTION__, '4.3.0' ); 
  3. return '';