{"id":597,"date":"2017-07-15T10:28:55","date_gmt":"2017-07-15T14:28:55","guid":{"rendered":"https:\/\/2017.lehighvalley.wordcamp.org\/?post_type=wcb_session&#038;p=597"},"modified":"2017-08-23T16:48:02","modified_gmt":"2017-08-23T20:48:02","slug":"extending-and-building-upon-the-wordpress-rest-api","status":"publish","type":"wcb_session","link":"https:\/\/lehighvalley.wordcamp.org\/2017\/session\/extending-and-building-upon-the-wordpress-rest-api\/","title":{"rendered":"Extending and Building upon the WordPress REST API"},"content":{"rendered":"<div>WordPress 4.7 introduced the content endpoints for the REST API. This grants access to built in content like posts, pages and categories. However, the power in WordPress often lies in plugins and custom content. In this talk we\u2019ll explore how you can extend the WordPress\u00a0REST API to access custom post types, custom taxonomies, metadata and custom fields. We\u2019ll also touch on building completely custom endpoints using the built-in framework introduced in WordPress 4.7.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>WordPress 4.7 introduced the content endpoints for the REST API. This grants access to built in content like posts, pages and categories. However, the power in WordPress often lies in plugins and custom content. In this talk we\u2019ll explore how &hellip; <a href=\"https:\/\/lehighvalley.wordcamp.org\/2017\/session\/extending-and-building-upon-the-wordpress-rest-api\/\">Continue reading <span class=\"assistive-text\">Extending and Building upon the WordPress REST API<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":9545473,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1503171900,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"https:\/\/timothybjacobs.com\/wp-content\/uploads\/2017\/08\/Extending-WP-API.pdf","_wcpt_session_video":"","_wcpt_speaker_id":[573],"footnotes":""},"session_track":[1150596],"session_category":[],"class_list":["post-597","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-class-room-one"],"jetpack_sharing_enabled":false,"jetpack_shortlink":"https:\/\/wp.me\/p8hqzU-9D","jetpack_likes_enabled":true,"session_date_time":{"date":"August 19, 2017","time":"3:45 pm"},"session_speakers":[{"id":"573","slug":"timothy-jacobs","name":"Timothy Jacobs","link":"https:\/\/lehighvalley.wordcamp.org\/2017\/speaker\/timothy-jacobs\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/lehighvalley.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lehighvalley.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/lehighvalley.wordcamp.org\/2017\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":7,"href":"https:\/\/lehighvalley.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/597\/revisions"}],"predecessor-version":[{"id":1011,"href":"https:\/\/lehighvalley.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/597\/revisions\/1011"}],"speakers":[{"embeddable":true,"href":"https:\/\/lehighvalley.wordcamp.org\/2017\/wp-json\/wp\/v2\/speakers\/573"}],"author":[{"embeddable":true,"href":"https:\/\/lehighvalley.wordcamp.org\/2017\/wp-json\/wporg\/v1\/users\/timothyblynjacobs"}],"wp:attachment":[{"href":"https:\/\/lehighvalley.wordcamp.org\/2017\/wp-json\/wp\/v2\/media?parent=597"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/lehighvalley.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_track?post=597"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/lehighvalley.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_category?post=597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}