How do I replace the 'Add New User' admin page?
-
I would like to replace the ‘Add New User’ admin page (user-new.php) with my own custom add new user page using a plugin. Any idea how I would do this?
I am able to remove the ‘Users’ menu using:
add_action( 'admin_menu', 'my_remove_menu_pages' ); function my_remove_menu_pages() { remove_menu_page('users.php'); }
but I don’t want to re-write all the sub menus and user functions along with it! I could do this and create my own users menu:
add_action('admin_menu','my_users'); function my_users () { add_menu_page('My Users','My Users','Administrator',__FILE__,'my_users_function');
and add these functions back in, but how? Any help would be appreciated.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How do I replace the 'Add New User' admin page?’ is closed to new replies.