preview_theme_ob_filter_callback()
Deprecated since 4.3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Manipulates preview theme links in order to control and maintain location.
Callback function for preg_replace_callback() to accept and filter matches.
Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.
No Hooks.
Returns
String.
Usage
preview_theme_ob_filter_callback( $matches );
- $matches(array) (required)
- .
Changelog
| Since 2.6.0 | Introduced. |
| Deprecated since | 4.3.0 |
preview_theme_ob_filter_callback() preview theme ob filter callback code WP 6.9
function preview_theme_ob_filter_callback( $matches ) {
_deprecated_function( __FUNCTION__, '4.3.0' );
return '';
}