moratzdesigns (January 28th, 2013), gonesmith (January 23rd, 2013)
add_action('admin_init', 'no_mo_dashboard');
function no_mo_dashboard() {
if (!current_user_can('manage_options') && !defined('DOING_AJAX') ) {
wp_redirect(site_url('dashboard')); exit;
}
}
moratzdesigns (January 28th, 2013), gonesmith (January 23rd, 2013)
There are currently 1 users browsing this thread. (0 members and 1 guests)