Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!

BuddyPress - disable sending activation emails

By: Bukrie on Dec 30th, 2012  |  syntax: PHP  |  size: 0.18 KB  |  views: 357  |  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. /* disable sending activation emails */
  2. /* place this in your child theme's function.php */
  3. add_filter( 'bp_core_signup_send_activation_key', create_function('','return false;') );