change-checkout-terms.php
· 416 B · PHP
原始檔案
// for QRh
add_filter('woocommerce_get_terms_and_conditions_checkbox_text', 'custom_terms_conditions_text');
function custom_terms_conditions_text($text) {
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>';
}
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 | } |