ninja_forms_register_field_type_group

The Ninja Forms ninja forms register field type group function.

Description

ninja_forms_register_field_type_group( $slug, $args ); 

Parameters (2)

0. $slug
The slug.
1. $args
The args.

Usage

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

Defined (1)

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

/deprecated/includes/register.php  
  1. function ninja_forms_register_field_type_group( $slug, $args ) { 
  2. global $ninja_forms_field_type_groups; 
  3.  
  4. foreach( $args as $key => $val ) { 
  5. $ninja_forms_field_type_groups[$slug][$key] = $val;