woocommerce_new_customer

woocommerce_new_customer

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_new_customer') is found 1 times:

  • /includes/data-stores/class-wc-customer-data-store.php line 141
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
        $customer->set_date_created( $wp_user->user_registered );
        $customer->set_date_modified( get_user_meta( $customer->get_id(), 'last_update', true ) );
        $customer->save_meta_data();
        $customer->apply_changes();
        do_action( 'woocommerce_new_customer', $customer->get_id(), $customer );
    }
     
    /**
     * Method to read a customer object.
     *
     * @since 3.0.0

See this hook used in plugins: