<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
- // assign value
- $nf_sub_limit_reached_msg>_
_ // basic usageecho do_shortcode("[$nf_sub_limit_reached_msg>__ "); - // assign value
- $nf_sub_limit_reached_msg>_
_ // variable usage$result = do_shortcode("[$nf_sub_limit_reached_msg>__ "); echo $result;
Defined (1)
The shortcode is defined in the following location(s).
- /includes/Display/Render.php
- foreach( $subs as $sub ) {
- if( 'publish' == get_post_status( $sub->post_id ) ) $count++;
- }
- if( $count >= $form->get_setting( 'sub_limit_number' ) ) {
- echo do_shortcode( apply_filters( 'nf_sub_limit_reached_msg', $form->get_setting( 'sub_limit_msg' ), $form_id ));
- return;
- }
- }
- if( ! apply_filters( 'ninja_forms_display_show_form', true, $form_id, $form ) ) return;