_preview_theme_template_filter

The timeline below displays how wordpress function _preview_theme_template_filter has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.6

/**
 * Private function to modify the current template when previewing a theme
 *
 * @since 2.9.0
 * @deprecated 4.3.0
 * @access private
 *
 * @return string
 */
function _preview_theme_template_filter()
{
    _deprecated_function(__FUNCTION__, '4.3.0');
    return '';
}

WordPress Version: 4.3

/**
 * Private function to modify the current template when previewing a theme
 *
 * @since 2.9.0
 * @deprecated 4.3.0
 * @access private
 *
 * @return string
 */
function _preview_theme_template_filter()
{
    _deprecated_function(__FUNCTION__, '4.3');
    return '';
}

WordPress Version: 3.7

/**
 * Private function to modify the current template when previewing a theme
 *
 * @since 2.9.0
 * @access private
 *
 * @return string
 */
function _preview_theme_template_filter()
{
    return isset($_GET['template']) ? $_GET['template'] : '';
}