| @@ 693-707 (lines=15) @@ | ||
| 690 | * @since 2.5.0 |
|
| 691 | * @return array |
|
| 692 | */ |
|
| 693 | protected function get_customer_billing_address_fields() { |
|
| 694 | return apply_filters( 'woocommerce_cli_customer_billing_address_fields', array( |
|
| 695 | 'first_name', |
|
| 696 | 'last_name', |
|
| 697 | 'company', |
|
| 698 | 'address_1', |
|
| 699 | 'address_2', |
|
| 700 | 'city', |
|
| 701 | 'state', |
|
| 702 | 'postcode', |
|
| 703 | 'country', |
|
| 704 | 'email', |
|
| 705 | 'phone', |
|
| 706 | ) ); |
|
| 707 | } |
|
| 708 | ||
| 709 | /** |
|
| 710 | * Get customer shipping address fields. |
|
| @@ 715-727 (lines=13) @@ | ||
| 712 | * @since 2.5.0 |
|
| 713 | * @return array |
|
| 714 | */ |
|
| 715 | protected function get_customer_shipping_address_fields() { |
|
| 716 | return apply_filters( 'woocommerce_cli_customer_shipping_address_fields', array( |
|
| 717 | 'first_name', |
|
| 718 | 'last_name', |
|
| 719 | 'company', |
|
| 720 | 'address_1', |
|
| 721 | 'address_2', |
|
| 722 | 'city', |
|
| 723 | 'state', |
|
| 724 | 'postcode', |
|
| 725 | 'country', |
|
| 726 | ) ); |
|
| 727 | } |
|
| 728 | ||
| 729 | /** |
|
| 730 | * Get customer download fields. |
|