Support » Plugin: PeepSo - User Profile and Social Networking Plugin » Meta Key for Cover Photo

  • Resolved kendelldbest



    I’m looking into the meta key for peepso cover photo.

    Is it peepso_user_cover_photo ?

    Can you kindly advise? I’ll like to display that cover as a background.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Matt Jaworski


    The best way to do it is to use our class, not the meta directly. This way if the cover is unset, you will get the default.

    $user_id = 123; // example user ID
    $PeepSoUser = PeepSoUser::get_instance($user_id);
    $cover_url = $PeepSoUser->get_cover(); 
    echo $cover_url; // print the URL of the cover


    Thanks. It works!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.