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.8 (Current: 6.9)
v1.4.5
Current Version v1.4.5
Updated 1 year ago
Last Update on 23 Apr, 2024
Synced 6 hours ago
Last Synced on
Rank
#6,866
-1 this week
Active Installs
1K+
-21.7%
KW Avg Position
163.5
+1 better
Downloads
88.2K
+2 today
Support Resolved
0%
—
No change
Rating
94%
Review 4.7 out of 5
4.7
(12 reviews)
Next Milestone 2K
1K+
2K+
1,482
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 764 more installs to reach 2K+
Rank Changes
Current
#6,866
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 2 of 2| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| e-downloads | 142 | — | Tag | 18 hours ago |
| edd | 185 | — | Tag | 18 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.8
- 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,736
Master Addons For Elementor – White Label, Free Widgets, Hover Effects, Conditions, & Animations
40K+ installs
#929
Anti-Malware Security and Brute-Force Firewall
100K+ installs
#295
WPS Limit Login
100K+ installs
#309
reCaptcha by BestWebSoft
100K+ installs
#316
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;
}