Stop WordPress asking for ftp details
In rare cases wordpress admin will ask for ftp password for installing theme or plugins in that scenerio we will do following steps to fix the FTP details
Step : 1
Please check plugin or theme file folders permission.
Step : 2
Add below code to the wp-config.php file in wordpress installed location.
define('FS_METHOD', 'direct');