start_previewing_theme WordPress Action Hook
The start_previewing_theme WordPress hook is called when the user starts previewing a theme. This hook can be used to perform any necessary actions before the theme is previewed, such as loading resources or setting up data.
do_action( 'start_previewing_theme', WP_Customize_Manager $manager ) #
Fires once the Customizer theme preview has started.
Parameters
- $manager
(WP_Customize_Manager)WP_Customize_Manager instance.
Source
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |