nf_change_all_forms_filter
The Ninja Forms nf change all forms filter function.
Description
nf_change_all_forms_filter( $cap );
Parameters (1)
- 0. $cap
- The cap.
Usage
if ( !function_exists( 'nf_change_all_forms_filter' ) ) { require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/deprecated.php'; } // The cap. $cap = null; // NOTICE! Understand what this does before running. $result = nf_change_all_forms_filter($cap);
Defined (1)
The function is defined in the following location(s).
- /deprecated/includes/deprecated.php
- function nf_change_all_forms_filter( $cap ) {
- return apply_filters( 'ninja_forms_admin_menu_capabilities', $cap );
- }