We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For testing purposes I wanted to create 100 customers using the WordPress CLI, which according to the documentation should be done like this:
wp edd customers --create=100
You can see this here: https://easydigitaldownloads.com/docs/wp-cli-commands/
The operation "fails" because code is physically missing to create random names and emails in the CLI command.
Something like this fixes it (similar to the orders):
$fname = $this->get_fname(); $lname = $this->get_lname(); $domain = $this->get_domain(); $tld = $this->get_tld(); $email = $fname . '.' . $lname . '@' . $domain . '.' . $tld; $args = array( 'email' => $email, 'name' => $fname . ' ' . $lname, ); $customer_id = edd_add_customer( $args );
PHP Version: 8.3
EDD Version (or branch): 3.2.12
WordPress Version: 6.5.3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
Expected behavior
For testing purposes I wanted to create 100 customers using the WordPress CLI, which according to the documentation should be done like this:
wp edd customers --create=100
You can see this here: https://easydigitaldownloads.com/docs/wp-cli-commands/
Actual behavior
The operation "fails" because code is physically missing to create random names and emails in the CLI command.
Something like this fixes it (similar to the orders):
Steps to reproduce the behavior
wp edd customers --create=100
Information (if a specific version is affected):
PHP Version: 8.3
EDD Version (or branch): 3.2.12
WordPress Version: 6.5.3
The text was updated successfully, but these errors were encountered: