wphooks.info - start_previewing_theme

start_previewing_theme

The hook occurs in the following file:

wp-includes/class-wp-customize-manager.php:
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
			add_filter( 'pre_option_template_root', array( $this, 'get_template_root' ) );
		}

		/**
		 * Fires once the Customizer theme preview has started.
		 *
		 * @since 3.4.0
		 *
		 * @param WP_Customize_Manager $this WP_Customize_Manager instance.
		 */
		do_action( 'start_previewing_theme', $this );
	}

	/**
	 * Stop previewing the selected theme.
	 *
	 * Removes filters to change the current theme.
	 *
	 * @since 3.4.0
	 */