mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-05-03 12:12:25 +08:00
https://github.com/easydigitaldownloads/library/blob/master/_checkout/force-billing-address.html
6 lines
243 B
Text
6 lines
243 B
Text
function pw_edd_force_billing_address() {
|
|
if( ! did_action( 'edd_after_cc_fields', 'edd_default_cc_address_fields' ) ) {
|
|
edd_default_cc_address_fields();
|
|
}
|
|
}
|
|
add_action( 'edd_purchase_form_after_cc_form', 'pw_edd_force_billing_address' );
|