why is wordpress asking for ftp credentials to update code example
Example 1: wordpress asking for ftp credentials
define('FS_METHOD','direct');
Example 2: wordpress asking for ftp credentials
chmod 777 /yourwebsitename/public/wp-content/plugins/