by Syed Balkhi
4.7 (12 reviews)
EDD Auto Register
Automatically creates a WP user account at checkout, based on customer's email address.
Tested up to WP 6.2.9 (Current: 6.9.4)
v1.4.5
Current Version v1.4.5
Updated 1 year ago
Last Update on 23 Apr, 2024
Refreshed 6 hours ago
Last Refreshed on
Rank
#7,002
—
No change
Active Installs
1K+
—
No change
KW Avg Position
171
-13.5 better
Downloads
88.6K
+4 today
Support Resolved
0%
—
No change
Rating
94%
Review 4.7 out of 5
4.7
(12 reviews)
Next Milestone 2K
1K+
2K+
1,692
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Need 866 more installs to reach 2K+
Rank Changes
Current
#7,002
Change
Best
#
Downloads Growth
Downloads
Growth
Peak
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
4.7
12 reviews
Overall
94%
5
11
(92%)
4
0
(0%)
3
0
(0%)
2
0
(0%)
1
1
(8%)
Tracked Keywords
Showing 1 of 1| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| e-downloads | 171 | — | Tag | 23 hours ago |
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 1.4.5
- Last Updated
- Apr 23, 2024
- Requires WP
- 4.4+
- Tested Up To
- 6.2.9
- PHP Version
- 5.4 or higher
- Author
- Syed Balkhi
Support & Rating
- Rating
- ★ ★ ★ ★ ★ 4.7
- Reviews
- 12
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowSimilar Plugins
WP Adminify – White Label WordPress, Admin Menu Editor, Login Customizer
7K+ installs
#2,721
Master Addons For Elementor – Widgets, Extensions, Theme Builder, Popup Builder & Template Kits
30K+ installs
#954
InfiniteWP Client
200K+ installs
#253
Nextend Social Login and Register
200K+ installs
#255
Anti-Malware Security and Brute-Force Firewall
100K+ installs
#297
Frequently Asked Questions
Common questions about EDD Auto Register
edd_auto_register_email_subject
edd_auto_register_headers
edd_auto_register_insert_user_args
edd_auto_register_email_body
edd_auto_register_error_must_login
edd_auto_register_login_form
edd_auto_register_disable
edd_auto_register_can_create_user
edd_auto_register_headers
edd_auto_register_insert_user_args
edd_auto_register_email_body
edd_auto_register_error_must_login
edd_auto_register_login_form
edd_auto_register_disable
edd_auto_register_can_create_user
function my_child_theme_edd_auto_register_email_subject( $subject ) {
// enter your new subject below
$subject = 'Here are your new login details';
return $subject;
}
add_filter( 'edd_auto_register_email_subject', 'my_child_theme_edd_auto_register_email_subject' );
// enter your new subject below
$subject = 'Here are your new login details';
return $subject;
}
add_filter( 'edd_auto_register_email_subject', 'my_child_theme_edd_auto_register_email_subject' );
function my_child_theme_edd_auto_register_email_body( $default_email_body, $first_name, $username, $password ) {
$user = get_user_by( 'login', $username );
$key = get_password_reset_key( $user );
if ( is_wp_error( $key ) ) {
return false;
}
// Modify accordingly
$message = sprintf( __( 'Dear %s', 'edd-auto-register' ), $first_name ) . ",\n\n";
$message .= __( 'Below are your login details:', 'edd-auto-register' ) . "\n\n";
$message = sprintf( __( 'Your Username: %s', 'edd-auto-register' ), sanitize_user( $username, true ) ) . "\r\n\r\n";
$message .= __( 'To set your password, visit the following address:' ) . "\r\n\r\n";
$message .= network_site_url( 'wp-login.php?action=rp&key=' . $key . '&login=' . rawurlencode( $username ), 'login' ) . "\r\n\r\n";
$message .= sprintf( __( 'Login: %s', 'edd-auto-register' ), wp_login_url() ) . "\r\n";
return $message;
}
add_filter( 'edd_auto_register_email_body', 'my_child_theme_edd_auto_register_email_body', 10, 4 );
Can you provide an example how to disable auto register?
Add the following to your child theme's functions.php to disable auto register based on the products purchased.
add_filter( 'edd_auto_register_can_create_user', 'prefix_auto_register_can_create_user', 10, 3 );
/**
* Filters whether a user can be created for an order.
*
* @param bool $can_create_user
* @param EDD_Payment $payment
* @param string $user_name
* @return bool
*/
function prefix_auto_register_can_create_user( $can_create_user, $payment, $user_name ) {
// Set up the array of items in the cart.
$items = array();
foreach ( $payment->cart_details as $item ) {
$items[] = $item['id'];
}
// Which items are valid for creating a user account.
$items_for_auto_register = array( 2092 );
// If there are no downloads that require auto register then disable it.
if ( ! array_intersect( $items, $items_for_auto_register ) ) {
return false;
}
return $can_create_user;
}
$user = get_user_by( 'login', $username );
$key = get_password_reset_key( $user );
if ( is_wp_error( $key ) ) {
return false;
}
// Modify accordingly
$message = sprintf( __( 'Dear %s', 'edd-auto-register' ), $first_name ) . ",\n\n";
$message .= __( 'Below are your login details:', 'edd-auto-register' ) . "\n\n";
$message = sprintf( __( 'Your Username: %s', 'edd-auto-register' ), sanitize_user( $username, true ) ) . "\r\n\r\n";
$message .= __( 'To set your password, visit the following address:' ) . "\r\n\r\n";
$message .= network_site_url( 'wp-login.php?action=rp&key=' . $key . '&login=' . rawurlencode( $username ), 'login' ) . "\r\n\r\n";
$message .= sprintf( __( 'Login: %s', 'edd-auto-register' ), wp_login_url() ) . "\r\n";
return $message;
}
add_filter( 'edd_auto_register_email_body', 'my_child_theme_edd_auto_register_email_body', 10, 4 );
Can you provide an example how to disable auto register?
Add the following to your child theme's functions.php to disable auto register based on the products purchased.
add_filter( 'edd_auto_register_can_create_user', 'prefix_auto_register_can_create_user', 10, 3 );
/**
* Filters whether a user can be created for an order.
*
* @param bool $can_create_user
* @param EDD_Payment $payment
* @param string $user_name
* @return bool
*/
function prefix_auto_register_can_create_user( $can_create_user, $payment, $user_name ) {
// Set up the array of items in the cart.
$items = array();
foreach ( $payment->cart_details as $item ) {
$items[] = $item['id'];
}
// Which items are valid for creating a user account.
$items_for_auto_register = array( 2092 );
// If there are no downloads that require auto register then disable it.
if ( ! array_intersect( $items, $items_for_auto_register ) ) {
return false;
}
return $can_create_user;
}