Custom_Image_Header::js()

最后更新于:2021-11-25 19:46:11

Custom_Image_Header::js()

Execute JavaScript depending on step.

源文件

文件: gc-admin/includes/class-custom-image-header.php

	public function js() {
		$step = $this->step();

		if ( ( 1 === $step || 3 === $step ) && current_theme_supports( 'custom-header', 'header-text' ) ) {
			$this->js_1();
		} elseif ( 2 === $step ) {
			$this->js_2();
		}
	}