I've tried the following, and also with a priority of 9999 but I can't seem to remove the gravity forms help section from the admin (for editors). What am I missing?
function remove_menu_links() {
if( !current_user_can('manage_options') ) {
remove_menu_page('admin.php?page=gf_help'); // this is the pages url
}
}
add_action( 'admin_menu', 'remove_menu_links');
Is there something else I can use to accomplish this? Just don't want editors seeing the help section. Thanks