Categories
Blog

How to turn off FTP credentials when updating theme or plugins

To fix the issue, just add the following line of code in your installed WordPress’s wp-config.php file. It’s a PHP constant declaration which tells the WordPress to avoid the FTP. That’s it.

define( 'FS_METHOD', 'direct' );