Support » Plugins and Hacks » Adding New Fields To Post

Adding New Fields To Post

  • I’m adding a few extra fields to my post pages and I’m wondering where data is inserted into the database. I assume it’s being done in the /wp-admin/includes/post.php but wanted to check. I guess I’m confused by not seeing many SQL Insert statements.

    I don’t think I can use the “custom fields” functionality because I’m populating a select list from a different part of my database that isn’t part of WP.

Viewing 1 replies (of 1 total)
  • Ok, for anyone else that was wondering – the wp_insert_post function is defined in wp-includes/post.php

    I didn’t expect it to be outside the admin directory.

    Thanks for all the help as usual wp community…

Viewing 1 replies (of 1 total)
  • The topic ‘Adding New Fields To Post’ is closed to new replies.