how to install plugins in wordpress localhost code example Example: how to update plugins from localhost wordpress define('FS_METHOD', 'direct');