Change WooCommerce Checkout Button – Reverts to normal

You need to hook in your function properly, so try this before your code (in functions.php):

// Hook in
add_filter( 'woocommerce_checkout_fields' , 'custom_wc_checkout_fields' );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)