How to customize WordPress Plugin installation?

Two possible approaches:

File based:

Standard procedure for anything that you do not to get overwritten is to use the uploads folder. Then it will not get overwritten by any kind of update.

I have several plugins that need to save data in files for one reason or another – cached ics files, customised css snippets. I have the plugin create a subdir in the uploads folder and save the files there. Nothing gets overwritten.

Database:

Presumably your unique key.php has their ‘key’. You could have them enter it in a field and save it in the database rather as an option – it will be safely hidden then – files can be found, especially if others figure out where you have them.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)