{"id":12225,"date":"2021-03-07T00:00:00","date_gmt":"2021-03-06T16:00:00","guid":{"rendered":"https:\/\/fgchen.com\/wpedu2\/2021\/03\/07\/%e5%ad%98%e5%8f%96wordpress-database\/"},"modified":"2026-03-30T14:38:50","modified_gmt":"2026-03-30T06:38:50","slug":"%e5%ad%98%e5%8f%96wordpress-database","status":"publish","type":"post","link":"https:\/\/fgchen.com\/wpedu\/2021\/03\/%e5%ad%98%e5%8f%96wordpress-database\/","title":{"rendered":"\u5b58\u53d6WordPress Database"},"content":{"rendered":"<blockquote>In this article, Daniel Pataki will explain how to get started with the $wpdb class, how to retrieve data from your WordPress database and how to run more advanced queries which are tailored to your particular needs, in order to update or delete something in the database, and generally make your website more efficient.<\/blockquote>\n\n\u5167\u5bb9\u51fa\u8655: <em><a href=\"https:\/\/www.smashingmagazine.com\/2011\/09\/interacting-with-the-wordpress-database\/\">How To Interact With The WordPress Database \u2014 Smashing Magazine<\/a><\/em>","protected":false},"excerpt":{"rendered":"<p>In this article, Daniel Pataki will expl &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","fifu_image_url":"","fifu_image_alt":"","footnotes":""},"categories":[266],"tags":[],"class_list":["post-12225","post","type-post","status-publish","format-standard","hentry","category-266"],"_links":{"self":[{"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/posts\/12225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/comments?post=12225"}],"version-history":[{"count":1,"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/posts\/12225\/revisions"}],"predecessor-version":[{"id":13775,"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/posts\/12225\/revisions\/13775"}],"wp:attachment":[{"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/media?parent=12225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/categories?post=12225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/tags?post=12225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}