ninja_forms_add_class

The Ninja Forms ninja forms add class function.

Description

ninja_forms_add_class( $classes ); 

Parameters (1)

0. $classes
The classes.

Usage

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

Defined (1)

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

/deprecated/includes/admin/scripts.php  
  1. function ninja_forms_add_class($classes) { 
  2. // add 'class-name' to the $classes array 
  3. $classes .= ' nav-menus-php'; 
  4. // return the $classes array 
  5. return $classes;