Description


If you want to add new settings tab under Downloads –> Add New –> Package Settings , you can use this hook.

Parameters


One parameter is passed to this hook.

Usage


To add new tabs Under Package Settings section.
<?php add_filter('wpdm_package_settings_tabs','my_new_tab',10,1);  ?>

Examples


<?php

add_filter('wpdm_package_settings_tabs','my_new_tab',10,1);

function my_new_tab($tabs){
$tabs['my_id'] = 'My Tab Name';
return $tabs;
}

?>

Related


Last Updated: Jun 29, 2014


Leave a Reply