Getting Array of Google Album IDs?
-
Hello,
Working on a new site with Photonic and I’m trying to template things to make users’ work easier when they add new pages. I use Photonic’s Google Photos access quite often as it’s easier to store them there than on my own server. Is there a function I can call to get a list of all albums and their IDs as an array? I know about the helper but is there a way to just return the raw data? My idea is to dynamically load this into an Advanced Custom Fields dropdown (ACF allows for this) to let the user select which album they want to display on the page, then pass that ID into a shortcode which will be rendered in the custom page template. I can’t provide a link as this is a dev site, but any help would be much appreciated. I can try to explain more if necessary.
- The topic ‘Getting Array of Google Album IDs?’ is closed to new replies.