[WordPress Plugin] Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types
Hello.
There is a way to add programmatically the attachments to a post?
In my function i have the post ID and the array of the attachments to that post.
Is there a way to loop through my attachments and "save" them to my instance for example "my_gallery"?
Hello. There is a way to add programmatically the attachments to a post? In my function i have the post ID and the array of the attachments to that post. Is there a way to loop through my attachments and "save" them to my instance for example "my_gallery"?
Thank you.