EDD Admin Tabs distributes meta boxes from download’s edit page in tabs.

Current tabs distribution:

  • General Information
  • Prices and files
  • Software Licensing
  • Vendor (FES and Commissions meta boxes)
  • Feedback (Comments and reviews)
  • SEO (The SEO Framework and Yoast SEO)
  • Revisions (If download post type supports it)

Supported plugins:

  • EDD Frontend Submissions
  • EDD Commissions
  • EDD Reviews
  • EDD Software Licensing
  • EDD Googl
  • Restrict Content
  • Visual Composer
  • The SEO Framework
  • Yoast SEO

This plugin requires Easy Digital Downloads.

How can I customize tabs?

First of all you need add a filter to changes how tabs are rendered, and at this point you could add, change or move tabs.

This is the structure for a tab:

$tab = array(
    'tab-identifier' => array(
        'label' => 'My tab',
        'selectors' => array(
            '#my-meta-box',
            '.group-of-meta-boxes',
        )
    )
);

This is an example of tab customization:

function custom_download_tabs( $tabs ) {
    // Adding a meta box to general tab
    $tabs['general']['selectors'][] = '#my-meta-box';

    // Moving a tab
    $temp_tab = $tabs['price-files'];

    unset($tabs['price-files']);

    $tabs['price-files'] = $temp_tab;

    // Removing a tab
    unset($tabs['feedback']);

    return $tabs;
}

add_filter( 'edd_admin_tabs_download_tabs', 'custom_download_tabs');

Note: Meta boxes that are not in a tab will be kept always visible, such as submit meta box