ericakfranz
2/21/2015 - 3:47 AM

Enable Editors to view/add/edit OptinMonster

Enable Editors to view/add/edit OptinMonster

add_filter( 'optin_monster_menu_cap', function( $cap ){
	if ( current_user_can('delete_pages') ) {
		return 'edit_pages';
	}
});