Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Profile view links !!?


  • OsamaNuman
    Participant

    @osamanuman

    I have this issue that in user field when I view them in my profile, in text boxes some words are taken as links ! and when pressed it opens a new page of members search !! how can I edit that and just let it be a normal text without linking ??

    Regards …

Viewing 2 replies - 1 through 2 (of 2 total)

  • shanebp
    Moderator

    @shanebp

    In bp-custom.php, paste this:

    remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );

    Info re bp-custom.php


    OsamaNuman
    Participant

    @osamanuman

    thx a lot for the info 🙂 A LOT 🙂

    I could do it by adding the:

    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' );

    from the link you provided !! THANKS !!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Profile view links !!?’ is closed to new replies.
Skip to toolbar