ninja_forms_display_sub_number

The Ninja Forms ninja forms display sub number shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[ninja_forms_display_sub_number]'); 
  1. // variable usage 
  2. $result = do_shortcode('[ninja_forms_display_sub_number]'); 
  3. echo $result;  

Defined (1)

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

/deprecated/includes/shortcode.php  
  1. function ninja_forms_display_sub_number_shortcode( $atts ) { 
  2. $sub_count = nf_get_sub_count( $atts[ 'id' ] ); 
  3. return $sub_count; 
  4.  
  5. add_shortcode( 'ninja_forms_display_sub_number', 'ninja_forms_display_sub_number_shortcode' ); 
  6.  
  7. /** 
  8. * Shortcode for ninja_forms_display_sub_number_remaining 
  9. * @since 2.8