maybe the subject is quite complicated but the idea is very simple.
I’ve got a file in uploads. I just want to attach it to a post.
I’m looking for which function I can make it with.
I know there must be something like that, because in Media I can attach files manually. Unfortunatelly I tried finding the function with no result. It should be something like:
I’d be grateful if somebody could help me.
I need a function for deattaching. If someone knows it, please, let me know as well. If I have one of them I’ll find or write (if there isn’t built-in function) the second one by myself.
- The topic ‘function for attaching existing attachment to a post’ is closed to new replies.