lic function filter_gettext( $translation, $text, $domain ) { if ( 'woocommerce' !== $domain && 'elementor-pro' !== $domain ) { return $translation; } if ( ! isset( $this->gettext_modifications ) ) { $this->init_gettext_modifications(); } return array_key_exists( $text, $this->gettext_modifications ) ? $this->gettext_modifications[ $text ] : $translation; } }