Change Any Text in WordPress

//Change Header Category Menu => ENGLISH TO ENGLISH TRANSLATION
add_filter( 'gettext', 'bena_change_cat_menu_text', 999, 3 );
function bena_change_cat_menu_text( $translated, $untranslated, $domain ) {
    switch ( $translated ) {
        case 'Browse Categories':
        $translated = 'Popular Categories';
        break;
    }
    return $translated;
} 
[instagram-feed feed=1]
© 2022 BenaDigital Limited | All Rights Reserved
magnifiercrosschevron-down