<data_desc_text>

The Ninja Forms data desc text shortcode.


Usage

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

Defined (1)

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

/deprecated/includes/display/fields/desc.php  
  1.  
  2. $class = apply_filters( 'ninja_forms_display_field_desc_class', 'ninja-forms-field-description', $field_id ); 
  3.  
  4. if ( ( isset( $data['show_desc'] ) and $data['show_desc'] == 1 ) and isset( $data['desc_text'] ) ) { 
  5. echo '<div class="' . $class . '">'; 
  6. echo do_shortcode( wpautop( $data['desc_text'] ) ); 
  7. echo '</div>';