CreateAccount::should_create_customer_account( WP_REST_Request $request )

Check request options and store (shop) config to determine if a user account should be created as part of order processing.


Description Description


Parameters Parameters

$request

(Required) The current request object being handled.


Top ↑

Return Return

(boolean) True if a new user account should be created.


Top ↑

Source Source

File: packages/woocommerce-blocks/src/Domain/Services/CreateAccount.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.