stop_previewing_theme WordPress Action Hook
The stop_previewing_theme hook is called when a user stops previewing a theme. This hook can be used to perform clean-up tasks such as resetting customizer settings or clearing cached data.
do_action( 'stop_previewing_theme', WP_Customize_Manager $manager ) #
Fires once the Customizer theme preview has stopped.
Parameters
- $manager
(WP_Customize_Manager)WP_Customize_Manager instance.
Source
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |