change-checkout-terms.php(file created)
@@ -0,0 +1,7 @@ | |||
1 | + | // for QRh | |
2 | + | ||
3 | + | add_filter('woocommerce_get_terms_and_conditions_checkbox_text', 'custom_terms_conditions_text'); | |
4 | + | ||
5 | + | function custom_terms_conditions_text($text) { | |
6 | + | return 'He leído y estoy de acuerdo con los <a href="https://qrh.app/terminos-condiciones/">términos y condiciones</a> de la web y la <a href="https://qrh.app/politica-devoluciones-reembolso/" target="_new">política de devoluciones y reembolso</a>'; | |
7 | + | } |
更新
更早