Get emails of register user in WordPress

The user table column you are searching for is user_email $emails = new WP_User_Query( array( ‘fields’ => array( ‘display_name’, ‘user_email’, ), // you don’t want everything, right? ‘orderby’ => ’email’, // ‘user_email’ works as well ‘order’ => ‘ASC’, // default: ‘DESC’ ‘number’ => 10, // total amount of users to return ‘offset’ => 0, // … Read more

User Registration – no Email required

Just install a plugin called – Snippets & Activate. Than on left panel click Snippets -> Add new. Type a title of your own & paste below code. After that click a option there in the bottom “Run snippet everywhere” and press Save/Active. That’s all you need to do. Enjoy… add_action(‘user_profile_update_errors’, ‘my_user_profile_update_errors’, 10, 3); function … Read more

Contact forms not sending mails

For SMTP and Gmail, you will need turn on 2 step verification, then create an App specific password in security panel of google account. Use your email and that password as login credential. You’ll also need use TSL or SSL for SMTP. Hope this help!

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