WordPress.org

Support

Support » Plugins and Hacks » BuddyPress Album » [Plugin: BuddyPress Album] code only for the owner

[Plugin: BuddyPress Album] code only for the owner

Viewing 1 replies (of 1 total)
  • i was tryng to do something like that… where user_id is the user logged in and the owner_id is the owner of the image… but seems it doesn’t find the owner…

    <?php if ($user_id == $owner_id) {
        echo 'questa è una tua foto.';
    } else {
        echo 'questa non è una tua foto'.$user_id;
    }
    ?>

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: BuddyPress Album] code only for the owner’ is closed to new replies.
Skip to toolbar