Just thought I’d drop by to say I use this answer all the time. It’s downright comical that almost a full decade after this post wordpress still hasn’t simplified this dramatically. –
Kai Qing
CommentedMar 11, 2021 at 21:53
Thank you a lot. This code works with the user logged, but the user not logged in the image is null. Any suggestion for my problem.
