{"id":2939,"date":"2017-03-23T23:38:58","date_gmt":"2017-03-23T18:08:58","guid":{"rendered":"http:\/\/2017.mumbai.wordcamp.org\/?post_type=wcb_session&#038;p=2939"},"modified":"2017-04-19T14:44:25","modified_gmt":"2017-04-19T09:14:25","slug":"writing-php-the-wordpress-way","status":"publish","type":"wcb_session","link":"https:\/\/mumbai.wordcamp.org\/2017\/session\/writing-php-the-wordpress-way\/","title":{"rendered":"Writing PHP &#8211; The WordPress Way!"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-2485\" src=\"https:\/\/i0.wp.com\/2017.mumbai.wordcamp.org\/files\/2017\/03\/rahul-300x300.png?resize=300%2C300\" alt=\"Rahul Bansal\" width=\"300\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/mumbai.wordcamp.org\/2017\/files\/2017\/03\/rahul.png?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/mumbai.wordcamp.org\/2017\/files\/2017\/03\/rahul.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/mumbai.wordcamp.org\/2017\/files\/2017\/03\/rahul.png?resize=100%2C100&amp;ssl=1 100w, https:\/\/i0.wp.com\/mumbai.wordcamp.org\/2017\/files\/2017\/03\/rahul.png?w=600&amp;ssl=1 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>The session will highlight common mistakes PHP programmers often make when they join the WordPress ecosystem.<\/p>\n<p>There are few PHP functions for which WordPress has its API.\u00a0One common case is use of PHP&#8217;s curl() function instead of using wp_remote_*() functions.<\/p>\n<p>Using WordPress equivalent has its benefits.<\/p>\n<p>Rahul will be highlighting such mistakes, and what benefits WordPress alternatives offers.<\/p>\n<p>He hopes this will help PHP developers become better WordPress developers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The session will highlight common mistakes PHP programmers often make when they join the WordPress ecosystem. There are few PHP functions for which WordPress has its API.\u00a0One common case is use of PHP&#8217;s curl() function instead of using wp_remote_*() functions. Using WordPress equivalent has its benefits. Rahul will be highlighting such mistakes, and what benefits &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/mumbai.wordcamp.org\/2017\/session\/writing-php-the-wordpress-way\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Writing PHP &#8211; The WordPress Way!&#8221;<\/span><\/a><\/p>\n","protected":false},"author":153468,"featured_media":0,"template":"","meta":{"_crdt_document":"","_wcpt_session_time":1490423400,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"https:\/\/www.slideshare.net\/rtcamp\/writing-php-the-wordpress-way-by-rahul-bansal-wordcamp-mumbai-2017-73702818","_wcpt_session_video":"","_wcpt_speaker_id":[2478],"footnotes":""},"session_track":[],"session_category":[],"class_list":["post-2939","wcb_session","type-wcb_session","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"session_date_time":{"date":"March 25, 2017","time":"12:00 pm"},"session_speakers":[{"id":"2478","slug":"rahul-bansal","name":"Rahul Bansal","link":"https:\/\/mumbai.wordcamp.org\/2017\/speaker\/rahul-bansal\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/mumbai.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/2939","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mumbai.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/mumbai.wordcamp.org\/2017\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/mumbai.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/2939\/revisions"}],"predecessor-version":[{"id":2940,"href":"https:\/\/mumbai.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/2939\/revisions\/2940"}],"speakers":[{"embeddable":true,"href":"https:\/\/mumbai.wordcamp.org\/2017\/wp-json\/wp\/v2\/speakers\/2478"}],"author":[{"embeddable":true,"href":"https:\/\/mumbai.wordcamp.org\/2017\/wp-json\/wporg\/v1\/users\/rahul286"}],"wp:attachment":[{"href":"https:\/\/mumbai.wordcamp.org\/2017\/wp-json\/wp\/v2\/media?parent=2939"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/mumbai.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_track?post=2939"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/mumbai.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_category?post=2939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}