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

Remove Profile Auto Links

By: bphelp on Mar 28th, 2013  |  syntax: None  |  size: 0.25 KB  |  views: 71  |  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. <?php
  2. /*
  3.  * Remove autolinks created in buddypress profiles
  4.  */
  5. function remove_xprofile_links() {
  6.     remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
  7. }
  8. add_action( 'init', 'remove_xprofile_links' );
  9. ?>