src/Potter/helpers.php
public static function get_optImg($option, $size, $default = null)
    {
        $id = self::get($option, $default);
        if (empty($id)):
            return null;
        endif;

        $image = wp_get_attachment_image_src($id, $size);

        return array_get($image, 0, null);
    }
public static function get_optImg($option, $size, $default = null)
    {
        $id = self::get($option, $default);
        if (empty($id)):
            return null;
        endif;

        $image = wp_get_attachment_image_src($id, $size);

        return array_get($image, 0, null);
    }
@param   string $option
@param   string $size
@param string   $default

@return null|string