Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [gallery ids="3,5,15,26"]
- Lorem ipsum text...
- [gallery ids="649,652,651,650"]
- $gallery = get_post_gallery( get_the_ID(), false );
- $gallery_attachment_ids = explode( ',', $gallery['ids'] );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement