<get_setting>

The Ninja Forms get setting shortcode.


Usage

  1. // assign value 
  2. $get_setting = 'dynamic_tag'; 
  3.  
  4. // basic usage 
  5. echo do_shortcode("[$get_setting]"); 
  1. // assign value 
  2. $get_setting = 'dynamic_tag'; 
  3.  
  4. // variable usage 
  5. $result = do_shortcode("[$get_setting]"); 
  6. echo $result;  

Defined (1)

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

/includes/Display/Render.php  
  1. $settings = apply_filters( 'ninja_forms_display_form_settings', $settings, $form_id ); 
  2.  
  3. $form->update_settings( $settings ); 
  4.  
  5. if( $form->get_setting( 'logged_in' ) && ! is_user_logged_in() ) { 
  6. echo do_shortcode( $form->get_setting( 'not_logged_in_msg' )); 
  7. return; 
  8.  
  9. if( $form->get_setting( 'sub_limit_number' ) ) { 
  10. $subs = Ninja_Forms()->form( $form_id )->get_subs();