Hi,
At this moment me, as administrator, can only change setting for this plugin. However, the editor sometimes needs to switch of the automatic watermarking for some pictures. How can I achieve this?
I looked at the ‘Members’ plugin and found this in there Readme file:
>Adding new default capabilities
Your plugin/theme can add new capabilities to the Edit Roles component if needed. This will allow users to easily select the additional capabilities for whichever roles they choose.
add_filter( ‘members_get_capabilities’, ‘my_plugin_new_caps’ );
function my_plugin_new_caps( $capabilities ) {
$capabilities[] = ‘cap_name_1’;
$capabilities[] = ‘cap_name_2’;
$capabilities[] = ‘cap_name_3’;
return $capabilities;
}
Note that you need to respect the existing capabilities and return the original array.
Is this a possibility? I just don’t understand it ;-). Hope for your help.
Kind regards,
Willem