0

Quick question, in API's some times save_post is used(most of the time actually). Is save_post the equivalent of the query action INSERT INTO whereas save_post saves metadata and forces Wordpress to do the rest of the work when used correctly?

Thanks in advance!

0

Correct, "save_post" saves along with the meta_data which is stored in $_POST, $_GET or $post_data and then it is inserted into the posts table . let me know if that's helpful.

  • 1
    I know i'm probably not as experienced in WP as most, so yes that makes it clearer for me it was indeed helpful. Thanks!(Can't accept answer yet) – David H Mar 12 '14 at 11:44
  • cool , happy hacking !! – Praveen Mar 13 '14 at 10:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.