Skip to:
Content
Pages
Categories
Search
Top
Bottom

Defining a role conditioned by a field


  • aldebaranmirko
    Participant

    @aldebaranmirko

    I have to assign a role according to a determined field
    I need a command like:
    $type = bp_get_member_profile_data( ‘field=type’ );
    if($type == ‘pippo’)
    …then assigns the role of contributor

    Could you help me?

    thanks in advance

  • The topic ‘Defining a role conditioned by a field’ is closed to new replies.
Skip to toolbar