wordpress/wp-content/themes/basic/themify/themify-utils.php
/**
	 * Returns the featured image url
	 * @param bool $echo Specify to echo or return the url
	 * @param string $size The image size to return
	 * @param null|int $attachment_id ID of image to load.
	 * @return void|string
	 */
Returns the featured image url
@param bool $echo Specify to echo or return the url
@param string $size The image size to return
@param null|int $attachment_id ID of image to load.
@return void|string
Returns the featured image url @param bool $echo Specify to echo or return the url @param string $size The image size to return @param null|int $attachment_id ID of image to load . @return void|string
function themify_image_url( $echo = false, $size = 'full', $attachment_id = null ) {
		$url = '';
		if ( has_post_thumbnail() ) {
			$image = wp_get_attachment_image_src( get_post_thumbnail_id(), $size );
			$url = $image[0];
		} elseif ( ! is_null( $attachment_id ) ) {
			$image = wp_get_attachment_image_src( $attachment_id, $size );
			$url = $image[0];
		}
		$url = apply_filters( 'themify_image_url', $url );
		if ( $echo ) {
			echo esc_url( $url );
			return '';
		} else {
			return $url;
		}
	}
function themify_image_url ( $ echo = false , $ size = 'full' , $ attachment_id = null ) { $ url = '' ; if ( has_post_thumbnail ( ) ) { $ image = wp_get_attachment_image_src ( get_post_thumbnail_id ( ) , $ size ) ; $ url = $ image [ 0 ] ; } elseif ( ! is_null ( $ attachment_id ) ) { $ image = wp_get_attachment_image_src ( $ attachment_id , $ size ) ; $ url = $ image [ 0 ] ; } $ url = apply_filters ( 'themify_image_url' , $ url ) ; if ( $ echo ) { echo esc_url ( $ url ) ; return '' ; } else { return $ url ; } }
Returns the featured image url
 @param bool $echo Specify to echo or return the url
 @param string $size The image size to return
 @param null|int $attachment_id ID of image to load.
Returns the featured image url @param bool $echo Specify to echo or return the url @param string $size The image size to return @param null|int $attachment_id ID of image to load .