woocommerce_api_customer_response

woocommerce_api_customer_response

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

apply_filters('woocommerce_api_customer_response') is found 3 times:

  • /includes/legacy/api/v1/class-wc-api-customers.php line 171
    				'country'    => $customer->get_shipping_country(),
    			),
    		);
    
    		return array( 'customer' => apply_filters( 'woocommerce_api_customer_response', $customer_data, $customer, $fields, $this->server ) );
    	}
    
    	/**
    	 * Get the total number of customers
    	 *
    	 * @since 2.1
    
  • /includes/legacy/api/v2/class-wc-api-customers.php line 189
    				'country'    => $customer->get_shipping_country(),
    			),
    		);
    
    		return array( 'customer' => apply_filters( 'woocommerce_api_customer_response', $customer_data, $customer, $fields, $this->server ) );
    	}
    
    	/**
    	 * Get the customer for the given email
    	 *
    	 * @since 2.1
    
  • /includes/legacy/api/v3/class-wc-api-customers.php line 190
    				'country'    => $customer->get_shipping_country(),
    			),
    		);
    
    		return array( 'customer' => apply_filters( 'woocommerce_api_customer_response', $customer_data, $customer, $fields, $this->server ) );
    	}
    
    	/**
    	 * Get the customer for the given email
    	 *
    	 * @since 2.1