I am new to WordPress and have been updating WP website plugin for almost 1 year and today i had 4 plugin to update when it asked me for To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your
after checking i found one solution to update wp-config.php
and add define('FS_METHOD','direct');
. This way i am able to update plugins now
Is it safe to add this or what is secure way of updating plugin/
I did same and i was able to update plugin but i am not sure if this is safe or recommended way