Closed JuKu closed 6 years ago
Sample Code:
$prefs = new Preferences("plugin_myplugin");
$prefs->load();
//set preferences
$prefs->set("key1", "value1");
$prefs->set("key2", 2);
$prefs->set("my-other-key", "my-other-value");
//...
$prefs->save();
Every plugin should automatically have preferences.
Plugins & Themes should have own preferences, like "CMS/made simple".