stop_previewing_theme
Fires once the Customizer theme preview has stopped.
Usage
add_action( 'stop_previewing_theme', 'wp_kama_stop_previewing_theme_action' );
/**
* Function for `stop_previewing_theme` action-hook.
*
* @param WP_Customize_Manager $manager WP_Customize_Manager instance.
*
* @return void
*/
function wp_kama_stop_previewing_theme_action( $manager ){
// action...
}
- $manager(WP_Customize_Manager)
- WP_Customize_Manager instance.
Changelog
| Since 3.4.0 | Introduced. |
Where the hook is called
stop_previewing_theme
wp-includes/class-wp-customize-manager.php 746
do_action( 'stop_previewing_theme', $this );