14 Jul 2020

Home

Wordpress

WordPress login with Email 

WordPress login with Email: WordPress is provinding login using Username by default. Sometimes we require userlogin by email also. So here is the code snippet, put this snippet into your current activated themes functions file. [php] add_filter(‘authenticate’, ‘qualitytuts_allow_email_login’, 20, 3); function qualitytuts_allow_email_login( $user, $username, $password…

Articles

.htaccess Tips 

Hypertext Access, commonly shortened to htaccess, is a configuration file which controls the directory it is placed in and all the subdirectories underneath it. It’s an incredibly useful feature which allows webmasters to control how many aspects of their website works. You can redirect pages,…

PHP

Email With Attachment 

Generally we use to send text/html mails in PHP by mail() function, this function is not providing to sent attachment file by default, so here i write a function using mail() function to send the email with attachment. Below is that I wrote and modified…

© Quality Tuts 2020 | Made with using WordPress.