• Resolved emmaga

    (@emmaga)


    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
    Peter

    Edit: nevermind… everthing works. thx for this nice plugin

    • This topic was modified 7 years, 3 months ago by emmaga.
  • The topic ‘Filter doesn’t work for me’ is closed to new replies.