Unable to download plugin in wordpress on localhost due to ftp

It is very normal when we usually download or install theme in wordpress for our project and after then when we need to add or download the plugin and then wordpress require ftp to download the plugin so to get rid from it,  here is a quite simple solution for this, just to add the below given code in wp-config.php file.

 

You may also like...