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
// callback for adding my tab to the settings template
function my_extension_function ($autoship_settings){
?>
<h4>Hello World!</h4>
<?php
}
// function to add tab $my_tab to autoship cloud > settings
function add_tab($tabs){
$my_tab = array( 'label' => __( 'My Tab','autoship'), 'callback' => 'my_extension_function', 'link_class' => '' );
$tabs[]= $my_tab;
return $tabs;
}
add_filter('autoship_admin_settings_tabs', 'add_tab', 10, 1);