How to programmatically get the Title for a Local Menu Task? I have a long list of menu items so i'll cut it short here:

$items['admin/skyview'] = array(
    'title' =&gt; 'Skyview Main Page',
    'type' =&gt; MENU_NORMAL_ITEM,
    'access callback' =&gt; TRUE,
    'page callback' =&gt; 'skyview_main_page',
);
$items['admin/skyview/tab1'] = array(
    'title' =&gt; 'Skyview',
    'type' =&gt; MENU_DEFAULT_LOCAL_TASK,
    'access callback' =&gt; TRUE,
    'weight' =&gt; 0,
);
$items['admin/skyview/tab5'] = array(
    'title' =&gt; 'Sites',
    'type' =&gt; MENU_LOCAL_TASK,
    'access callback' =&gt; TRUE,
    'weight' =&gt; 4,
    'page callback' =&gt; 'skyview_sites',
);


But my question is how do I programmatically get the title of 'Sites' for tab5? When I use menu_get_active_title it returns 'Skyview Main Page' instead.

I've looked through phpstorm for what options it gives me, but I really don't find anything to get the title of a menu local task, however I noticed this can be done in D8 but can it be done in D7?
I figured out how to finally get the title.

I was using dpm(menu_get_item()); which listed an array, but I had no idea how to access it. I just had to turn it into a variable to hold that data, then I could access it!

$db_site = menu_get_item();
$db_site = $db_site['title'];