Filter doesn’t work for me
-
Hi there,
I’ve really no clue, what I’m doing wrong.
This is my code in the function.php of my child-theme. The test user has the right role but the plugin is still forwarding back to the home site.
I would very much appreciate your help.
// ****- Set restrict to allow Author and above -****
function my_restrict_backend_level($min_allow_capability)
{
return ?edit_others_posts“;
}
add_filter(?restrict_backend_min_cap‘, ?my_restrict_backend_level“,10,1);Kind regards
PeterEdit: nevermind… everthing works. thx for this nice plugin
- The topic ‘Filter doesn’t work for me’ is closed to new replies.