Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
add_filter( 'ninja_forms_admin_parent_menu_capabilities', 'nf_newforms_capabilities' ); // Parent Menu
add_filter( 'ninja_forms_admin_all_forms_capabilities', 'nf_newforms_capabilities' ); // Forms Submenu
add_filter( 'ninja_forms_admin_add_new_capabilities', 'nf_newforms_capabilities' ); // Add New Submenu
function nf_newforms_capabilities( $cap ) {
return 'edit_posts'; // EDIT: User Capability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment