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:

Description

Filters the blog option to return the path for the previewed theme.

Related Functions

get_theme_file_path, _wp_get_attachment_relative_path, wp_initialize_theme_preview_hooks, wp_attach_theme_preview_middleware, get_parent_theme_file_path

Top Google Results

User discussions

wpseek mobile