About WP's save_post action

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!

Topic comparison save-post query Wordpress

Category Web


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.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.