hide meta boxes only for users, not for admins
-
Hi,
i am using the following function to hide the attributes meta box.
function customize_meta_boxes() { remove_meta_box('pageparentdiv','page','normal'); } add_action('admin_init','customize_meta_boxes');
It works quite well, but i still want the meta box to be visible for admins.
1. Is that possible?
2. Is there a way to put someting like this into my theme options? => set_page_template(TEMPLATENAME, SITEID)Thanks a lot!
Jan
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘hide meta boxes only for users, not for admins’ is closed to new replies.