woocommerce_analytics_new_customer action-hook . WC 1.0
Fires when a new report customer is created.
Usage
add_action( 'woocommerce_analytics_new_customer', 'action_function_name_457' ); function action_function_name_457( $customer_id ){ // action... }
- $customer_id(int)
- Customer ID.
Where the hook is called
woocommerce_analytics_new_customer
woocommerce/packages/woocommerce-admin/src/API/Reports/Customers/DataStore.php 537
do_action( 'woocommerce_analytics_new_customer', $customer_id );