تخطي إلى المحتوى تخطي إلى الشريط الجانبي
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

المنطقة الزمنية للداعم: Europe/Vienna (GMT+01:00)

يحتوي هذا الموضوع 0 ردود ، لديه 1 voices.

آخر تحديث بواسطة larissaT-3 قبل 3 أشهر، 3 أسابيع.

يساعده: Lucas Vidal de Andrade.

الكاتب المشاركات
1 ديسمبر، 2025 في 4:47 م #17623524

larissaT-3

While adjusting this as you described I did encounter 1 other custom code string in the 'woocommerce' domain coming from the functions.php.
Is it possible, and could you help me to wrap this one as well in the 'shopkeeper-child-custom'?

// Change "Related Products Text"

add_filter('gettext', 'change_relatedproducts_text', 10, 3);

function change_relatedproducts_text($new_text, $related_text, $source)
{
if ($related_text === 'Related products' && $source === 'woocommerce') {
$new_text = esc_html__('You might also like...', $source);
}
return $new_text;
}

الموضوع ”[مغلق] Wrap a string“ مغلق للردود الجديدة.