Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 7th, 2010  |  syntax: PHP  |  size: 0.19 KB  |  views: 111  |  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 bp_captcha_errors() {
  2.         if ( !empty( $bp->signup->errors['captcha'])) {
  3.                 $error_message = $bp->signup->errors['captcha'];
  4.                 echo "<div class=\"error\">' . $error_message . '</div>";
  5.         }
  6. }
clone this paste RAW Paste Data