hook_menu_local_tasks_alter for specific tab I've tried with my custom module to implement hook_menu_local_tasks_alter, but I'm not sure how can I edit specific tab.

Here's my example code:

&lt;?php 
    function my_module_menu_local_tasks_alter(&amp;$data, $router_item, $root_path) {

        $data['tabs']['0']['output']['0']['#access'] = FALSE;   


        //krumo($data);

    }


With this code I can hide the first tab, but that does on all pages. 

When I'm using hook_form_alter and with krumo(form_id) I can see what form is and I'm using switch statement to edit specific form. 
Is it possible to do this or something similar with tabs?

I'm not using CSS in this case, because I like to change the name of the tabs on specific pages too.
You can use hook_menu_local_tasks_alter() in your template.php file for your theme or .module file in module like below:

function YOURTHEME_menu_local_tasks_alter(&amp;$data, $router_item, $root_path) {

  foreach ($data['tabs'] as $key1 =&gt; $tabs) {
    foreach ($tabs['output'] as $key2 =&gt; $item) {

      if ($item['#link']['path'] == 'node/%/edit' || $item['#link']['path'] == 'user/%/edit') {
        $data['tabs'][$key1]['output'][$key2]['#link']['localized_options']['attributes']['class'][]  = 'CLASS_NAME_HERE';
      }
      else if ($item['#link']['path'] == 'node/%/delete') {
        $data['tabs'][$key1]['output'][$key2]['#link']['localized_options']['attributes']['class'][]  = 'CLASS_NAME_HERE';

      }
      else if ($data['tabs'][$key1]['output'][$key2]['#link']['title'] == 'View') {
        $data['tabs'][$key1]['output'][$key2]['#link']['localized_options']['attributes']['class'][]  = 'CLASS_NAME_HERE'; 

      }
      else if ($item['#link']['path'] == 'node/%/revisions') {
        $data['tabs'][$key1]['output'][$key2]['#link']['localized_options']['attributes']['class'][]  = 'CLASS_NAME_HERE';

      }

    }
  }
}


Hope this will help.