Ninja_Forms

The main function responsible for returning The Highlander Ninja_Forms Instance to functions everywhere.

Description

(object) Ninja_Forms(); 

Use this function like you would a global variable, except without needing to declare the global.

Example: $nf = Ninja_Forms" title="Ninja_Forms" class="code function">Ninja_Forms(); ?>

Returns (object)

The Highlander Ninja_Forms Instance


Usage

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

Defined (2)

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

/deprecated/ninja-forms.php  
  1. function Ninja_Forms() { 
  2. return Ninja_Forms::instance(); 
/ninja-forms.php  
  1. function Ninja_Forms() 
  2. return Ninja_Forms::instance();