A ashkir 👽 Chevereto Freak Jan 17, 2021 #1 You can currently grab the owner of the current user that is logged in via their album login ID PHP: if (CHV\Login::getUser()['album_count'] > 0) { Does anyone know what commands I can use to move away from from get login user to be the owner of the album instead?
You can currently grab the owner of the current user that is logged in via their album login ID PHP: if (CHV\Login::getUser()['album_count'] > 0) { Does anyone know what commands I can use to move away from from get login user to be the owner of the album instead?
Rodolfo ⭐ Chevereto Godlike Chevereto Staff Administrator Jan 18, 2021 #2 Depends where you want to grab that. At template level you have to use get_album(). Inspect it and you will notice that the user key contains the properties from the content owner. If you want to add it at route level then check the property being used, directly at the alleged route. All $album variables do include the same props.
Depends where you want to grab that. At template level you have to use get_album(). Inspect it and you will notice that the user key contains the properties from the content owner. If you want to add it at route level then check the property being used, directly at the alleged route. All $album variables do include the same props.