Skip to:
Content
Pages
Categories
Search
Top
Bottom

On Profile-Base, answers to fields works as links


  • Mickey
    Participant

    @minglonaire

    For example first name – steve, for some reason steve is a link to search for steve and so on with all other fields. I am not sure why its set up like that, but I would like to disable it.

Viewing 1 replies (of 1 total)

  • danbp
    Moderator

    @danbp

    It’s built in automatic search feature.

    To deactivate the whole profile links, add this snippet to bp-custom.php or your child-theme functions.php

    function bpfr_remove_xprofile_links() {
        remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
    }
    add_action('bp_setup_globals', 'bpfr_remove_xprofile_links'); 

    To remove selectively such profile links, see here.

Viewing 1 replies (of 1 total)
  • The topic ‘On Profile-Base, answers to fields works as links’ is closed to new replies.
Skip to toolbar