I'm adding a new function in my plugin and was wondering what each key does. Some things aren't doing what I thought they'd do.
Heres what I have:
'action' => 'function',
'customizable' => {
'description' => '1',
'min_user_status' => '1',
'page' => '1',
'user_groups' => '1'
},
'description' => 'Blah',
'function' => 'Plugins::GForum::MyPlugin:my_func',
'hidden' => '1',
'min_forum_permission' => '3'
}
What I don't understand are all the "customizable" keys and the hidden/min_forum_permission keys
I assumed the min_forum_permission one meant that no-one with permissions lower than 3 could run the function but this doesn't seem to be the case.
Is there anything in the docs for this?
Heres what I have:
Code:
'my_func' => { 'action' => 'function',
'customizable' => {
'description' => '1',
'min_user_status' => '1',
'page' => '1',
'user_groups' => '1'
},
'description' => 'Blah',
'function' => 'Plugins::GForum::MyPlugin:my_func',
'hidden' => '1',
'min_forum_permission' => '3'
}
What I don't understand are all the "customizable" keys and the hidden/min_forum_permission keys
I assumed the min_forum_permission one meant that no-one with permissions lower than 3 could run the function but this doesn't seem to be the case.
Is there anything in the docs for this?