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

Untitled

By: a guest on Jun 25th, 2013  |  syntax: PHP  |  size: 0.26 KB  |  views: 124  |  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 my_custom_follow_button_args( $button_args, $leader_id, $follower_id ) {
  2.         $button_args['link_text'] = '<img src="LINK TO IMAGE HERE" alt="" />';
  3.  
  4.         return $button_args;
  5. }
  6. add_filter( 'bp_follow_get_add_follow_button', 'my_custom_follow_button_args', 10, 3 );