<nf_sub_limit_reached_msg>_<form_get_setting_sub_limit_msg>_<form_id>

The Ninja Forms nf sub limit reached msg form get setting id shortcode.


Usage

  1. // assign value 
  2. $nf_sub_limit_reached_msg>__
  3.  
  4. // basic usage 
  5. echo do_shortcode("[$nf_sub_limit_reached_msg>__"); 
  1. // assign value 
  2. $nf_sub_limit_reached_msg>__
  3.  
  4. // variable usage 
  5. $result = do_shortcode("[$nf_sub_limit_reached_msg>__"); 
  6. echo $result;  

Defined (1)

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

/includes/Display/Render.php  
  1. foreach( $subs as $sub ) { 
  2. if( 'publish' == get_post_status( $sub->post_id ) ) $count++; 
  3.  
  4. if( $count >= $form->get_setting( 'sub_limit_number' ) ) { 
  5. echo do_shortcode( apply_filters( 'nf_sub_limit_reached_msg', $form->get_setting( 'sub_limit_msg' ), $form_id )); 
  6. return; 
  7.  
  8. if( ! apply_filters( 'ninja_forms_display_show_form', true, $form_id, $form ) ) return;