Display WordPress media uploader input field.

Code Sample:

array(
    'id'          => 'field_media',
    'title'           => __('Media ','text-domain'),
    'details'      => __('Field media description','text-domain'),
    'placeholder'  => 'https://i.imgur.com/GD3zKtz.png',
    'type'        => 'media',
),

Preview:

WordPress Option Framework