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)
Source
File: wp-includes/customize/class-wp-customize-header-image-control.php
178 179 180 181 182 183 184 | public function get_current_image_src() { $src = $this ->value(); if ( isset( $this ->get_url ) ) { $src = call_user_func( $this ->get_url, $src ); return $src ; } } |
Expand full source codeCollapse full source codeView on TracView on GitHub