Get Gallery ID in a filter function
-
I am trying to filter output using the
'foogallery_attachment_html_link_attributes'
filter. I have added a function to my functions.php file and have it working the way I want by manually entering the ID of my test gallery, but I can’t figure out how to set that variable dynamically. I feel like this should be easy to figure out, but maybe it’s just late and I’m too tired to think about variable scope properly. Anyway, thanks for any help you can give!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Get Gallery ID in a filter function’ is closed to new replies.