ninja_forms_display_sub_number_shortcode

Shortcode for ninja_forms_display_sub_number.

Description

(int) ninja_forms_display_sub_number_shortcode( $atts ); 

Returns (int)

nf_get_sub_count()

Parameters (1)

0. $atts
The atts.

Usage

  1. if ( !function_exists( 'ninja_forms_display_sub_number_shortcode' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/shortcode.php'; 
  3.  
  4. // The atts. 
  5. $atts = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = ninja_forms_display_sub_number_shortcode($atts); 
  9.  

Defined (1)

The function 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;