You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we are saving attachment URLs in the option. Wouldn't it be better to save attachment ids instead?
So if its a file, we can use wp_get_attachment_url(). If its an image, we could get full, thumbnail, medium images if we wanted. What do you guys think?
Changing to attachment_id will also break the existing forms as users are already fetching URLs and acting on that.