Restrict wp-admin access to certain users


/ Published in: PHP
Save to your folder(s)

Adding this snippet to the functions.php of your wordpress theme will restrict wp-admin access to certain users as defined at

http://codex.wordpress.org/Roles_and_Capabilities

And also still allows for user access to admin-ajax.php , async-upload.php .

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.