• Is it possible for the plugin to affect a certain member type only?

    Example an argument like:

    function show_reviews() {
        global $bp;
    $profileid = bp_displayed_user_id();
    $profiletype = xprofile_get_field_data( 'Profile Type', $profileid );
    if ($profiletype == 'Page'){
            /* execute plugin */
           
        }
    
    }

    If that’ll work, where should I place my code in your files?

    • This topic was modified 7 years, 6 months ago by Ward.
  • The topic ‘Member Type’ is closed to new replies.