When using WordPress you might have seen an alert box asking you to add FTP details to download new WordPress plugin or update WordPress plugin.
The wp-config.php file can be used to define constant values. You can add below code to your wp-config.php file to get rid of FTP alert.
FTP Access
If you have FTP details, then the more secure way is to add constants to the wp-config.php file.
For Secure Connection
For a secure connection add the below code in wp-config.php: