nyxer
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
sorry no English, use google translator,.
I should do..
change the code, by which…
add the code,
but I can still send messages to a subscriber accountI say add the code ..
function s2_admin_changes( $capability, $menu ) { // $capability is the core WordPress capability to allow admin page access // $menu is the title of the page: // 'user' for access to personal subscription settings // 'manage' to allow access to the user management screen // 'settings' to allow access to the plugin settings // 'send' for access to the Send Email page // identify the menu you are changing capability for first // then return a new capability if ( $menu == 'send' ) { return 'read'; } return $capability; } add_filter('s2_capability', 's2_admin_changes', 10, 2);in functions.php
add it, but go in with an account of a subscriber and I can send messages like, I want only administrators to send emails
Viewing 3 replies - 1 through 3 (of 3 total)