Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
add_filter( 'ninja_forms_admin_parent_menu_capabilities', 'nf_allforms_capabilities' ); // Parent Menu
add_filter( 'ninja_forms_admin_all_forms_capabilities', 'nf_allforms_capabilities' ); // Forms Submenu
function ninja_forms_admin_all_forms_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
You can’t perform that action at this time.