There will be no theme support between October 20th to October 24th. Support will resume October 27th.

Okay
  Print

Changing the hub tab titles globally

In your Gauge child theme functions.php file add:

function ghostpool_new_tab_titles( $title, $hub_id ) {
    if ( get_post_meta( $hub_id, '_wp_page_template', true ) === 'review-template.php' ) {
        $title = 'New Title';
    } elseif ( get_post_meta( $hub_id, '_wp_page_template', true ) === 'news-template.php' ) {
        $title = 'New Title';
    } elseif ( get_post_meta( $hub_id, '_wp_page_template', true ) === 'images-template.php' ) {
        $title = 'New Title';
    } elseif ( get_post_meta( $hub_id, '_wp_page_template', true ) === 'videos-template.php' ) {
        $title = 'New Title';
    } elseif ( get_post_meta( $hub_id, '_wp_page_template', true ) === 'write-a-review-template.php' ) {
        $title = 'New Title';
    } elseif ( get_post_meta( $hub_id, '_wp_page_template', true ) === 'user-reviews-template.php' ) {
        $title = 'New Title';
    }
    return $title;
    
}
add_filter( 'ghostpool_hub_tab_title', 'ghostpool_new_tab_titles', 10, 2 );

Replace each occurrence of "New Title" with the title you want for that tab.