Advertisement
bphelp

Remove Profile Auto Links

Mar 28th, 2013
172
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. ?>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement