Custom Redirect after registration in WooCommerce

Internally, WooCommerce uses WordPress’ wp_safe_redirect() which does not allow redirects to external hosts. In order to get around this, we must add our desired host to the whitelist. The whitelist can be modified using the allowed_redirect_hosts which has been demonstrated below: /** * Adds example.com to the list of allowed hosts when redirecting using wp_safe_redirect() … Read more

auto assign sequence base username while registration

This all depends on how users are being registered on your site. TLDR The code below allows you to create custom users from admin area specifying custom usernames, or use GENERATE_CUSTOM_SEQ_USERNAME to generate sequential numbered one. If using registration form other than wp-login.php just set user_login to GENERATE_CUSTOM_SEQ_USERNAME and hide the field using CSS. If … Read more

New user notification doesn’t include activation link

WordPress 4.9.0 introduced 2 filters into the new user notification mail function (wp_new_user_notification): wp_new_user_notification_email – to customise the email sent to User wp_new_user_notification_email_admin – to customise the email email sent to Admin We can ignore the second as this is the email sent to the admin the format is different from that in your question. … Read more

Site Registration & MailChimp Coordination? [closed]

Mailchimp has several WordPress plugin you can get directly from their site. Other mail services also provide WordPress specific plugins besides Mailchimp. http://kb.mailchimp.com/connect These plugins interface directly with WordPress signups or as a separate form, the Mailchimp signups by default need user confirmation and provide opt-out. As for download only for members, it depends how … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)