(src > admin.php) can be used to show or hide the Update button from each tab in the Autoship Cloud > Settings page. Takes a boolean (show / hide) and the current settings tab as parameters. 


// function to hide update button on the extensions tab in autoship cloud > settings
function hide_update ($show, $active_tab){
    $active_tab == 'autoship-extensions' ? false : true;
add_filter('autoship_admin_settings_tab_include_submit', 'hide_update', 10, 2);

Still need help? Contact Us Contact Us