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

  1. if ( !function_exists( 'nf_change_all_forms_filter' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/deprecated.php'; 
  3.  
  4. // The cap. 
  5. $cap = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = nf_change_all_forms_filter($cap); 
  9.  

Defined (1)

The function is defined in the following location(s).

/deprecated/includes/deprecated.php  
  1. function nf_change_all_forms_filter( $cap ) { 
  2. return apply_filters( 'ninja_forms_admin_menu_capabilities', $cap );