public static function get_dimensions_for_size( $img_size ) {
		$width  = absint( $img_size['resize'][0] );
		$height = isset( $img_size['resize'][1] ) ? absint( $img_size['resize'][1] ) : 0;

		return array( $width, $height );
	}
public static function get_dimensions_for_size( $img_size ) {
		$width  = absint( $img_size['resize'][0] );
		$height = isset( $img_size['resize'][1] ) ? absint( $img_size['resize'][1] ) : 0;

		return array( $width, $height );
	}
public static function get_dimensions_for_size ( $ img_size ) { $ width = absint ( $ img_size [ 'resize' ] [ 0 ] ) ; $ height = isset ( $ img_size [ 'resize' ] [ 1 ] ) ? absint ( $ img_size [ 'resize' ] [ 1 ] ) : 0 ; return array ( $ width , $ height ) ; }
Get width and height for an image size.

@param array $img_size Image size configuration array.
@return array Width and height.
Get width and height for an image size .