wphooks.info - start_previewing_theme

start_previewing_theme

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/class-wp-customize-manager.php:
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
			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
	 */