(src/admin.php) used to show or hide the Update button from each tab in the Autoship Cloud > Settings page. Takes a boolean ($show) and the current settings tab ($active_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