what can i do for this code to add editor user with administrator
-
how to add editor user with administrator to this code , please i need this now , cause i have one works with me and he
s editor but he can not manage vedio gallery plugin cause i think it
s for only administrators , so what can i do for this code to make what i need?} function responsive_video_gallery_plus_lightbox_add_admin_menu() { $hook_suffix=add_menu_page ( __ ( 'Responsive Video Gallery Plus Lightbox' ), __ ( 'Video Gallery with Lightbox' ), 'administrator', 'responsive_video_gallery_with_lightbox', 'responsive_video_gallery_with_lightbox_admin_options_func' ); $hook_suffix=add_submenu_page ( 'responsive_video_gallery_with_lightbox', __ ( 'Gallery Settings' ), __ ( 'Gallery Settings' ), 'administrator', 'responsive_video_gallery_with_lightbox', 'responsive_video_gallery_with_lightbox_admin_options_func' ); $hook_suffix_image=add_submenu_page ( 'responsive_video_gallery_with_lightbox', __ ( 'Manage Videos' ), __ ( 'Manage Videos' ), 'administrator', 'responsive_video_gallery_with_lightbox_video_management', 'responsive_video_gallery_with_lightbox_video_management_func' ); $hook_suffix_prev=add_submenu_page ( 'responsive_video_gallery_with_lightbox', __ ( 'Preview Gallery' ), __ ( 'Preview Gallery' ), 'administrator', 'responsive_video_gallery_with_lightbox_video_preview', 'responsive_video_gallery_with_lightbox_video_preview_func' ); add_action( 'load-' . $hook_suffix , 'responsive_video_gallery_plus_lightbox_add_admin_init' ); add_action( 'load-' . $hook_suffix_image , 'responsive_video_gallery_plus_lightbox_add_admin_init' ); add_action( 'load-' . $hook_suffix_prev , 'responsive_video_gallery_plus_lightbox_add_admin_init' ); }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘what can i do for this code to add editor user with administrator’ is closed to new replies.