add_filter( 'woocommerce_get_script_data', 'change_alert_text', 10, 2 ); function change_alert_text( $params, $handle ) { if ( $handle === 'wc-add-to-cart-variation' ) $params['i18n_unavailable_text'] = __( 'TEEEEEEKsT', 'domain' ); return $params; }

toget

Viser alle 2 resultater