Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hayulthegoat

    (@hayulthegoat)

    function pw_edd_purchase_form_required_fields( $required_fields ) {
    
        unset( $required_fields['edd_phone'] );
    
        return $required_fields;
    }
    add_filter( 'edd_purchase_form_required_fields', 'pw_edd_purchase_form_required_fields' );

    This does not work at all…

    Plugin Support Mihai Joldis

    (@misulicus)

    Hi @hayulthegoat

    I am sorry for the delay here. EDD does not have a Phone field added by default so most likely it has been added via custom code, perhaps from here https://docs.easydigitaldownloads.com/article/1003-custom-checkout-fields

    If so and you want to remove it you would need to locate where you added it initially. It could be in your theme, perhaps in the functions.php file or as a custom plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[NSFW] Disable edd-phone field’ is closed to new replies.