Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 21st, 2012  |  syntax: None  |  size: 0.30 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. function glx_thiscomment ($atts) {
  2.         global $thiscomment;
  3.         extract(lAtts(array(
  4.                 'key'=>'',
  5.         ),$atts));
  6.  
  7.         if (array_key_exists($key, $thiscomment)) {
  8.            return $thiscomment[$key];
  9.         } else {
  10.                 return 'Unknown key.';
  11.         }
  12. }