ninja_forms_display_sub_limit_number_shortcode

Shortcode for ninja_forms_all_fields.

Description

(string) ninja_forms_display_sub_limit_number_shortcode( $atts ); 

Returns (string)

sub_limit_number

Parameters (1)

0. $atts
The atts.

Usage

  1. if ( !function_exists( 'ninja_forms_display_sub_limit_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_limit_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_limit_number_shortcode( $atts ) { 
  2. $form = Ninja_Forms()->form( $atts[ 'id' ] ); 
  3.  
  4. if ( isset( $form->settings[ 'sub_limit_number' ] ) ) { 
  5. return $form->settings[ 'sub_limit_number' ]; 
  6. else { 
  7. return null;