Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove profile links


  • jdhall1972
    Participant

    @jdhall1972

    BuddyPress is automatically turns custom fields into links on profile pages. I’ve tried turning off this feature with the code below, but it doesn’t work. Any suggestions? Thanks.

    `
    function remove_xprofile_links() {
    remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
    }
    add_action( ‘bp_init’, ‘remove_xprofile_links’ );
    `

Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Remove profile links’ is closed to new replies.
Skip to toolbar