Custom_Image_Header::js

Advertisement

Summery Summery

Execute JavaScript depending on step.

Syntax Syntax

Custom_Image_Header::js()

Source Source

File: wp-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();
		}
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.