ninja_forms

The Ninja Forms ninja forms shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[ninja_forms]'); 
  1. // variable usage 
  2. $result = do_shortcode('[ninja_forms]'); 
  3. echo $result;  

Defined (2)

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

/deprecated/includes/shortcode.php  
  1. return $form; 
  2.  
  3. add_shortcode( ninja_forms, 'ninja_forms_shortcode' ); 
  4. add_shortcode( 'ninja_form', 'ninja_forms_shortcode' ); 
  5. /** 
  6. * Old Ninja Forms shortcode 
  7. */ 
/includes/Display/Shortcodes.php  
  1. public function __construct() 
  2. add_shortcode( 'nf_preview', array( $this, 'display_form_preview' ) ); 
  3. add_shortcode( 'ninja_form', array( $this, 'display_form_front_end' ) ); 
  4. add_shortcode( ninja_forms, array( $this, 'display_form_front_end' ) ); 
  5. add_shortcode( 'ninja_forms_display_form', array( $this, 'display_form_front_end' ) ); 
  6.  
  7. public function display_form_preview( $atts = array() )