Forums

[resolved] PHP/SQL for posting to WordPress (3 posts)

  1. caemusic
    Member
    Posted 3 years ago #

    Details aside, I'm making a plugin to create a post automatically when something happens. I've been looking at the twitter-tools plugin as an example but it's more complicated than I need and I'm getting lost in it.

    Does anyone know of a bare-bones tutorial for creating a post via php? I only need to set the following fields:

    Post Title
    Post Content
    Post Date
    Status (Published)

    Thanks

  2. Otto
    Tech Ninja
    Posted 3 years ago #

  3. caemusic
    Member
    Posted 3 years ago #

    thanks otto, you're always on top of things :)

    couldn't find it because i was searching for create instead of insert.

Topic Closed

This topic has been closed to new replies.

About this Topic