How to get the ID of an item in an audio playlist?
We don’t have an explicit filter for the data array so here are two workarounds that you might give a try: Approach #1 – As meta data We can add attachment_id to the meta data for each playlist item, via the wp_get_attachment_metadata filter, but first we have to register it via the wp_get_attachment_id3_keys filter. Here’s … Read more