Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
338 B
5
Indexable
Never
function daniele_product_tags_gettext( $translation, $text, $domain ) {
    switch ( $translation ) {
        case 'Products tagged “%s”' :
            $translation = __( 'Products worn by %s', 'woocommerce' );
            break;
    }
    return $translation;
}
add_filter( 'gettext', 'daniele_product_tags_gettext', 20, 3 );