Hi Jkirker, if you are still looking for an answer to changing the default tab, you can do it by removing the current default tab:
$new_tab_array[‘post_profile’][‘is_active_tab’]=”; //remove old default tab
And registering the new one:
$new_tab_array[‘reviews’][‘is_active_tab’]=’1′; //add new default tab
So merged with Paolo’s code above, it looks like this:
// here u can modify this array, u can create a completely new one too.
if(isset($tab_array[‘reviews’])){
$new_tab_array[‘reviews’] = $tab_array[‘reviews’];// set in new array
$new_tab_array[‘reviews’][‘is_active_tab’]=’1′; //add new default tab
unset($tab_array[‘reviews’]);//unset in old one
}
if(isset($tab_array[‘post_profile’])){
$new_tab_array[‘post_profile’] = $tab_array[‘post_profile’]; // set in new array
$new_tab_array[‘post_profile’][‘is_active_tab’]=”; //remove old default tab
unset($tab_array[‘post_profile’]);//unset in old one
}