Archive for April, 2011

20 Apr

Redirect users from WordPress admin pages

After some time looking at the various user-restriction/membership style plugins, I realized that there wasn’t a quick and easy way to ban normal users from all of the wp-admin pages.

Fortunately, wordpress makes this sort of customization easy with its amazing API. These four lines of code are all that’s needed:
(more…)