WooCommerce – change Related Products title

// Change WooCommerce related products title
add_filter('gettext', 'change_relatedproducts_title', 10, 3);
add_filter('ngettext', 'change_relatedproducts_title', 10, 3);
function change_relatedproducts_title($translated, $text, $domain)
     if ($text === 'Related products' && $domain === 'woocommerce')
         $translated = esc_html__('Check out our other products', $domain);
     return $translated;

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.