<name>

Adds a shortcode.


Usage

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

Defined (1)

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

/non_pope/class.nextgen_shortcode_manager.php  
  1. /* @param $callback 
  2. */ 
  3. function add_shortcode($name, $callback) 
  4. $this->_shortcodes[$name] = $callback; 
  5. add_shortcode($name, array(&$this, $name.'____wrapper')); 
  6.  
  7. /** 
  8. * Removes a shortcode 
  9. * @param $name