Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] hide profile field links only for certain fields

  • @commoneasy

    Participant

    Hi there,

    I use both BP 2.0.1 and the BP custom fields type plugin and i got the the links removed with:

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

    I was wondering if you could use this to only hide the links from certain profile fields, like only for profile field 2, 6 & 7 ?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] hide profile field links only for certain fields’ is closed to new replies.
Skip to toolbar