public function get_url( $size ) {
		$url = null;
		if ( isset( $this->struct['return_type'] ) && 'url' === $this->struct['return_type'] ) {
			$url = $this->get_value();
		} else {
			$data = wp_get_attachment_image_src( $this->get_value(), $size );
			if ( ! empty( $data ) ) {
				$url = $data[0];
			}
		}

		return $url;
	}
public function get_url( $size ) {
		$url = null;
		if ( isset( $this->struct['return_type'] ) && 'url' === $this->struct['return_type'] ) {
			$url = $this->get_value();
		} else {
			$data = wp_get_attachment_image_src( $this->get_value(), $size );
			if ( ! empty( $data ) ) {
				$url = $data[0];
			}
		}

		return $url;
	}
public function get_url ( $ size ) { $ url = null ; if ( isset ( $ this -> struct [ 'return_type' ] ) && 'url' === $ this -> struct [ 'return_type' ] ) { $ url = $ this -> get_value ( ) ; } else { $ data = wp_get_attachment_image_src ( $ this -> get_value ( ) , $ size ) ; if ( ! empty ( $ data ) ) { $ url = $ data [ 0 ] ; } } return $ url ; }
Get the URL of the image of the control.

@since  3.0.0
@access public

@param string $size The size of image to get url for.

@return string URL to the requested image.
Get the URL of the image of the control .