<content>

The Ninja Forms content shortcode.


Usage

  1. // assign value 
  2. $content = 'dynamic_tag'; 
  3.  
  4. // basic usage 
  5. echo do_shortcode("[$content]"); 
  1. // assign value 
  2. $content = 'dynamic_tag'; 
  3.  
  4. // variable usage 
  5. $result = do_shortcode("[$content]"); 
  6. echo $result;  

Defined (1)

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

/deprecated/includes/shortcode.php  
  1. // Backup current registered shortcodes and clear them all out 
  2. $current_shortcodes = $shortcode_tags; 
  3. $shortcode_tags = array(); 
  4. // Do the shortcode (only the one above is registered) 
  5. $content = do_shortcode($content); 
  6. // Put the original shortcodes back 
  7. $shortcode_tags = $current_shortcodes; 
  8. return $content;