<output>

The bbpress Simple Advert Units output shortcode.


Usage

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

Defined (1)

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

/bbpress-simple-advert-units.php  
  1. $ad = $bbp_sau_opt_vals['positions'][$location]['ad_code']; 
  2. if (strlen($ad)>1) { 
  3. $output = "<!-- SAU_START_$location -->".stripslashes($ad)."<!-- SAU_END_$location -->"; 
  4.  
  5. $output = do_shortcode($output); 
  6. return $output;  
  7.  
  8.  
  9.