wp_get_theme_preview_path
wp_get_theme_preview_path ( $current_stylesheet = null )
Parameters:- (string) current_stylesheet The current theme's stylesheet or template path.
Returns:- (string) The previewed theme's stylesheet or template path.
Defined at: - Introduced in WordPress: 6.3.0
- Deprecated in WordPress: —
Description
Filters the blog option to return the path for the previewed theme.