nf_preview

The Ninja Forms nf preview shortcode.


Usage

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

Defined (1)

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

/includes/Display/Shortcodes.php  
  1.  
  2. final class NF_Display_Shortcodes 
  3. public function __construct() 
  4. add_shortcode( 'nf_preview', array( $this, 'display_form_preview' ) ); 
  5. add_shortcode( 'ninja_form', array( $this, 'display_form_front_end' ) ); 
  6. add_shortcode( ninja_forms, array( $this, 'display_form_front_end' ) ); 
  7. add_shortcode( 'ninja_forms_display_form', array( $this, 'display_form_front_end' ) ); 
  8.