• Hello,

    I would like to insert two new select options.
    e.g. But anyone, Only Me, My Friends ..etc, I also want to remove one of the select options.

    The function “function setup_globals” in bp xprofile-Loader.php

    'public' => array('id'	  => 'public',
    'label' => _x( 'Everyone', 'Visibility level setting', 'buddypress' )
    .....		)

    Is it possible to override the function as usual with a new function in functions.php bp? Or, for example, to remove one of the available options Select (Everybody)?

    https://www.ads-software.com/plugins/buddypress-xprofile-custom-fields-type/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Override the Function in bp-functions.php’ is closed to new replies.