ninja_forms_register_field_type_group
The Ninja Forms ninja forms register field type group function.
Description
Parameters (2)
- 0. $slug
- The slug.
- 1. $args
- The args.
Usage
if ( !function_exists( 'ninja_forms_register_field_type_group' ) ) { require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/register.php'; } // The slug. $slug = null; // The args. $args = null; // NOTICE! Understand what this does before running. $result = ninja_forms_register_field_type_group($slug, $args);
Defined (1)
The function is defined in the following location(s).
- /deprecated/includes/register.php
- function ninja_forms_register_field_type_group( $slug, $args ) {
- global $ninja_forms_field_type_groups;
- foreach( $args as $key => $val ) {
- $ninja_forms_field_type_groups[$slug][$key] = $val;
- }
- }