Forum Replies Created

Viewing 1 replies (of 1 total)
  • As an example (to help out those less PHP-savvy, like myself), I needed to allow access to Editors as well as Administrators. I added the following code to my functions.php file:

    //MAKE REDIRECTION TOOL AVAILABLE TO EDITORS
    add_filter('redirection_role', 'redirection_allow_editors');
    function redirection_allow_editors(){
    	return 'edit_pages';
    }

    Where edit_pages can be any editor-level capability. To allow access for different user roles, just change this capability to one that matches the desired user role.

Viewing 1 replies (of 1 total)