Filter – Admin – Remove automatic / manual Order Tabs
Certain order tabs can be removed for certain sorts, sorts view or on all instances suing the filter
apto/admin/sort-order-tabs/strong>
The following example will replace the Automatic Order tab when sort_id is 1723
add_filter('apto/admin/sort-order-tabs', 'apto_sort_order_tabs', 10, 2);
function apto_sort_order_tabs($tabs, $sort_view_ID)
{
$sort_view_data = get_post($sort_view_ID);
$sort_id = $sort_view_data->post_parent;
if($sort_id == 1723)
{
unset($tabs['auto']);
}
return $tabs;
}