I figured this out;
Here's the answer if anyone has the same question;
<?php
// Register settings page. In this case, it's a theme options page
add_filter( 'mb_settings_pages', 'prefix_options_page' );
function prefix_options_page( $settings_pages )
{
$settings_pages[] = array(
'id' => 'options',
'option_name' => 'options',
'menu_title' => __( 'Options', 'textdomain' ),
'icon_url' => 'dashicons-edit',
'style' => 'no-boxes',
'columns' => 1,
'tabs' => array(
'general' => __( 'General Settings', 'textdomain' ),
),
'position' => 2,
);
$settings_pages[] = array(
'id' => 'work',
'option_name' => 'work',
'menu_title' => __( 'Work', 'textdomain' ),
'icon_url' => 'dashicons-edit',
'style' => 'no-boxes',
'columns' => 1,
'tabs' => array(
'featured' => __( 'Featured Work', 'textdomain' ),
),
'position' => 2,
);
return $settings_pages;
}
// Register meta boxes and fields for settings page
add_filter( 'rwmb_meta_boxes', 'prefix_options_meta_boxes' );
function prefix_options_meta_boxes( $meta_boxes )
{
$meta_boxes[] = array(
'id' => 'general',
'title' => __( 'General', 'textdomain' ),
'settings_pages' => 'options',
'tab' => 'general',
'fields' => array(
array(
'name' => __( 'Logo Dark', 'textdomain' ),
'id' => 'logo_dark',
'type' => 'file_input',
),
array(
'name' => __( 'Logo Light', 'textdomain' ),
'id' => 'logo_dark',
'type' => 'file_input',
),
),
);
return $meta_boxes;
}