/*
Theme Name: HealthHub Child Theme
Template: healthhub
Theme URI: https://healthhub.ancorathemes.com/
Description: HealthHub Child Theme
Author: AncoraThemes
Author URI: https://ancorathemes.com/
Version: 1.0.0
Tested up to: 6.6
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: clinic, dental, doctor, gynecology, health, healthtech, healthyliving, hospital, medical, medicine, nutrition, pediatric, therapy
Text Domain: healthhub
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

<?php
// Replace "Biography" with "Experience" in theme strings
add_filter('gettext', 'hi_replace_biography_label', 20, 3);
function hi_replace_biography_label($translated, $text, $domain) {
    // ThemeREX themes often use 'healthhub' and/or 'trx_addons'
    if (in_array($domain, ['healthhub','trx_addons'])) {
        if (trim($text) === 'Biography') {
            return 'Experience';
        }
    }
    return $translated;
}
