WP_Customize_Header_Image_Control::get_current_image_src() WordPress Method

The WP_Customize_Header_Image_Control::get_current_image_src() method is used to get the URL of the current header image.

WP_Customize_Header_Image_Control::get_current_image_src() #


Return

(string|void)


Top ↑

Source

File: wp-includes/customize/class-wp-customize-header-image-control.php

	public function get_current_image_src() {
		$src = $this->value();
		if ( isset( $this->get_url ) ) {
			$src = call_user_func( $this->get_url, $src );
			return $src;
		}
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.