Adding some hooks
-
Hello Smash Balloon –
Nice plugin. Pretty much works as expected ??
Question / suggestion: Is there any chance of adding some filters so someone would be able to customize the output? For example, your default grid display is certainly solid, but we have some other things in mind. The ability to hook in via a filter, receive the necessary data and output our own output would be helpful.
Worst case, it looks like you might be storing the images in a transient, correct? In that case, I think there’s a workaround. Can you confirm there is a transient for the images, as well as what the name of that transient is. Please? I’m sure I can figure it out but this need kinda popped up out of nowhere and I’m trying to save time, if possible.
tia –
mfsp.s. As a general best practice it’s probably best you escape your frontend values. I’m pretty sure I saw things being aggregated on to a string that is eventually displayed as the grid. Yeah, you can assume you can trust the source (IG) but just in case, it’s still good to escape. In theory, someone could put something nefarious in the DB (e.g., transient) and you’re not making sure it’s clean.
I hope that helps. For now I’m mainly interested in the hooks / transient issues.
- The topic ‘Adding some hooks’ is closed to new replies.