I want to enable / disable the plugins I am using when seting up a new install or upgrade so I don't have to go through them every time.
So in zp-core setup/setup-option-defaults.php
I see the enabled plugins like this:
`setOptionDefault('zp_plugin_class-video', 9|CLASS_PLUGIN);`
I would like to know what's up with the number (5, 9, 8)?
For example I want to enable the user_login-out.php in the setup I need to add:
`setOptionDefault('zp_plugin_user_login-out', ???|CLASS_PLUGIN);`
My guess is the number refers to the plugin category?
Template Plugins, Core plugins, Admin utilities
Comments
Doh.
All plugins set default values but on first enabling and if no options are set (at least they should behave like that).