autoship_admin_settings_tabs

(src > admin.php) Can be used to add additional tabs to the Autoship Cloud > Settings page. It can also be used to remove tabs from the same page. Takes the $tabs array as a parameter.

Example

// function to add tab $my_tab to autoship cloud > settings
function add_tab($tabs){
    $my_tab = array('my-tab' => array('label' => __('My Tab', 'autoship')));
    return $tabs[]= $my_tab;
}
add_filter('autoship_admin_settings_tabs', 'add_tab', 10, 1);

Still need help? Contact Us Contact Us