{"id":4483,"date":"2014-04-25T06:06:08","date_gmt":"2014-04-25T06:06:08","guid":{"rendered":"http:\/\/developer.wordpress.org\/reference\/functions\/write_post\/"},"modified":"2026-02-24T05:14:11","modified_gmt":"2026-02-24T05:14:11","slug":"write_post","status":"publish","type":"wp-parser-function","link":"https:\/\/developer.wordpress.org\/reference\/functions\/write_post\/","title":{"rendered":"write_post()"},"excerpt":{"rendered":"<p>Calls <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_write_post\/\" rel=\"function\">wp_write_post()<\/a>  and handles the errors.<\/p>\n","protected":false},"comment_status":"open","ping_status":"open","template":"","meta":{"_crdt_document":"","footnotes":""},"wp-parser-source-file":[343],"wp-parser-package":[226,3],"wp-parser-since":[14],"class_list":["post-4483","wp-parser-function","type-wp-parser-function","status-publish","hentry","wp-parser-source-file-wp-admin_includes_post-php","wp-parser-package-administration","wp-parser-package-wordpress","wp-parser-since-2-0-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/4483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function"}],"about":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/types\/wp-parser-function"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/comments?post=4483"}],"version-history":[{"count":1,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/4483\/revisions"}],"predecessor-version":[{"id":6423,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/4483\/revisions\/6423"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=4483"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=4483"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=4483"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=4483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}