How to remove address book shipper and receiver dropdown

Note: Please copy and paste this code in functions.php of your current theme.

    function custom_address_book_dropdown_callback(){
        // Remove Shipper dropdown
        remove_action( 'before_wpcfe_shipper_info_form_fields', 'wpc_address_books_shipper_autofill' );
        // Remove Receiver dropdown
        remove_action( 'before_wpcfe_receiver_info_form_fields', 'wpc_address_books_receiver_autofill' );   
    }
    add_action( 'init', 'custom_address_book_dropdown_callback' );
    
0
    0
    Your Cart
    Your cart is emptyReturn to Shop