Use this hook to add a new tab/settings group on the WordPress Download Manager settings page.
class CustomSettings{ function __construct(){ add_filter('add_wpdm_settings_tab', array($this, 'tab')); } function tab($tabs){ $tabs['new-tab-id'] = \WPDM\admin\menus\Settings::createMenu('new-tab-id', 'New Tab', array($this, 'tabPage'), 'fa fa-magic'); return $tabs; } function tabPage(){ if (wpdm_query_var('section', 'txt') === 'new-tab-id' && is_admin()) { //Save Settings _e('Saved Successfully!'); die(); } ?> <!-- Setting page html here. --> <?php } } new CustomSettings();
For any technical issue, if you are already using pro version please post in pro forum and free version users please post in free forum. Otherwise, if you have any pre-sale or order related query please contact live chat support team. For technical support.