ninja_forms_display_form

Old Ninja Forms shortcode.


Usage

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

Defined (3)

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

/deprecated/includes/shortcode.php  
  1. add_shortcode( ninja_forms, 'ninja_forms_shortcode' ); 
  2. add_shortcode( 'ninja_form', 'ninja_forms_shortcode' ); 
  3. /** 
  4. * Old Ninja Forms shortcode 
  5. */ 
  6.  
  7. function ninja_forms_field_shortcode( $atts ) { 
  8. global $ninja_forms_processing; 
  9. $field_id = $atts['id']; 
  10. if ( is_object ( $ninja_forms_processing ) ) { 
  1. add_shortcode( ninja_forms, 'ninja_forms_shortcode' ); 
  2. add_shortcode( 'ninja_form', 'ninja_forms_shortcode' ); 
  3. /** 
  4. * Old Ninja Forms shortcode 
  5. */ 
  6.  
  7. function ninja_forms_field_shortcode( $atts ) { 
  8. global $ninja_forms_processing; 
  9. $field_id = $atts['id']; 
  10. if ( is_object ( $ninja_forms_processing ) ) { 
/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() ) 
  8. if( ! isset( $atts[ 'id' ] ) ) return $this->display_no_id();