NF_Abstracts_Extension

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

Description

NF_Abstracts_Extension(); 

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

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


Usage

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

Defined (1)

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

/includes/Abstracts/Extension.php  
  1. return NF_Abstracts_Extension::instance();