[Resolved] how to set post to sticky (IN PHP) ?
Tried our local fora without results. Let’s bring it up a notch :
For a plugin dev (classyfrieds) I’m looking for a way to make an existing post sticky (and preferably change the publishing date to current date).
I use wp_update_post() to modify all kinds of things on existing posts, but the stickyness eludes me.
(In the ideal world I’m also looking for the code to un-stick a post, but assume that the light will turn on once I know how to sticky a post first).
codex,bing & google turned out not to be my friends in this matter.
- The topic ‘[Resolved] how to set post to sticky (IN PHP) ?’ is closed to new replies.