I'm trying to create a function (without the use of JS) to change the title of Custom Meta Boxes.
Currently I have the following code which changes the titles of Core WordPress Meta Boxes (such as author etc.):
//hook to the 'add_meta_boxes' action
add_action('add_meta_boxes', 'change_meta_box_titles');
function change_meta_box_titles() {
global $wp_meta_boxes; // array of defined meta boxes
// cycle through the array, change the titles you want
$wp_meta_boxes['post']['normal']['core']['authordiv']['title']= 'Team Member';
}
However it doesn't appear that custom meta boxes can be called the same way. They don't show up when you use the following snippet inside your function to view the $wp_meta_boxes array:
echo '<pre>';
print_r($wp_meta_boxes);
echo '</pre>';
wp_die('');
Anyone have any suggestions on how to change the titles of custom meta boxes?