<msg>

The Ninja Forms msg shortcode.


Usage

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

Defined (1)

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

/deprecated/includes/display/form/sub-limit.php  
  1. return false; 
  2.  
  3. if ( $ninja_forms_loading->get_form_setting( 'sub_limit_reached' ) ) { 
  4. $msg = $ninja_forms_loading->get_form_setting( 'sub_limit_msg' ); 
  5. $msg = wpautop( $msg ); 
  6. $msg = do_shortcode( $msg ); 
  7. $msg = '<div class="sub-limit-reached-msg">' . $msg . '</div>'; 
  8. $msg = apply_filters( 'nf_sub_limit_reached_msg', $msg, $form_id ); 
  9. echo $msg; 
  10.