<value>

The Ninja Forms value shortcode.


Usage

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

Defined (2)

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

/includes/Display/Render.php  
  1.  
  2. if ($default_value) { 
  3. $settings['value'] = $default_value; 
  4.  
  5. ob_start(); 
  6. do_shortcode( $settings['value'] ); 
  7. $ob = ob_get_clean(); 
  8.  
  9. if( ! $ob ) { 
  10. $settings['value'] = do_shortcode( $settings['value'] ); 
  1. ob_start(); 
  2. do_shortcode( $settings['value'] ); 
  3. $ob = ob_get_clean(); 
  4.  
  5. if( ! $ob ) { 
  6. $settings['value'] = do_shortcode( $settings['value'] ); 
  7.  
  8. $thousands_sep = $wp_locale->number_format[ 'thousands_sep'];