• Resolved Howdy_McGee

    (@howdy_mcgee)


    I would like to see in the future of this plugin a filter for changing the add_submenu_page capabilities. Currently 3 of them are hardcoded as administrator with no easy way to change this. Something like this maybe:

    add_submenu_page(
    	'wsdesk_tickets',
    	'E-Mail',
    	esc_html__('E-Mail', 'wsdesk'),
    	apply_filters( 'wsdesk_email_subpage_cap', 'administrator' ),
    	'wsdesk_email',
    	array( $this->settings, 'eh_crm_email_sub_menu_callback' )
    );
Viewing 1 replies (of 1 total)
  • Thanks for your suggestion. We will analyze the feasibility and let you know if we go ahead with the implementation.

Viewing 1 replies (of 1 total)
  • The topic ‘[Feature Request] Filter For Admin Menu Capabilities’ is closed to new replies.