NF_PLUGIN_DIR
The Ninja Forms NF PLUGIN DIR constant.
Value (unknown)
plugin_dir_path( __FILE__ )
Usage
if ( defined( 'NF_PLUGIN_DIR' ) ) { // grab the value $value = constant( 'NF_PLUGIN_DIR' ); if ( !empty( $value ) ) { // go forth and prosper... } }
Defined (2)
The constant is defined in the following location(s).
- /deprecated/ninja-forms.php
- define( 'NF_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
- /ninja-forms.php
- define( 'NF_PLUGIN_DIR', self::$dir );