{"id":2358,"date":"2015-03-06T10:53:14","date_gmt":"2015-03-06T05:23:14","guid":{"rendered":"https:\/\/2015.mumbai.wordcamp.org\/?p=2358"},"modified":"2015-03-06T10:53:14","modified_gmt":"2015-03-06T05:23:14","slug":"wordpress-settings-api-by-vishal-kothari","status":"publish","type":"post","link":"https:\/\/mumbai.wordcamp.org\/2015\/wordpress-settings-api-by-vishal-kothari\/","title":{"rendered":"WordPress Settings API by Vishal Kothari"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/www.tychesoftwares.com\/wp_settings_api.png\" alt=\"Wordpress Settings API by Vishal Kothari\" \/><\/p>\n<p>I am the founder of <a title=\"Tyche Softwares\" href=\"http:\/\/www.tychesoftwares.com\" target=\"_blank\">Tyche Softwares<\/a> &amp; the CTO at <a title=\"PreK12Plaza\" href=\"http:\/\/www.prek12plaza.com\" target=\"_blank\">PreK12 Plaza<\/a>. At Tyche, our team focuses on developing WooCommerce plugins. We&#8217;ve had the privilege of being the first to release a Booking plugin that&#8217;s fully integrated with WooCommerce. Apart from that, we maintain a very sharp &amp; limited focus on the plugins that we have.<\/p>\n<p>At Tyche, I am not actively involved in coding, apart from for a WordPress plugin that&#8217;s in development. My typical day is occupied with ensuring top quality customer support by our team. It also includes prioritizing features for plugin updates, improving the quality of existing plugins &amp; affiliate management, sales &amp; marketing.<\/p>\n<p><strong>Doing things the right way<\/strong><\/p>\n<p>It&#8217;s widely known that WordPress is now used on about <a href=\"http:\/\/w3techs.com\/technologies\/details\/cm-wordpress\/all\/all\">23% of the websites<\/a> on Internet. What is not known is that only <em><a href=\"http:\/\/torquemag.io\/13-surprising-wordpress-statistics\/\">22% of WordPress sites<\/a><\/em> are up to date. Yes, only 22%!<\/p>\n<p>This is worrying. Because this suggests that the websites that are not up to date, have not been designed \/ coded in the right way so as to allow them to update to the latest version of WordPress.<\/p>\n<p><strong>What I will cover<\/strong><\/p>\n<p>The take away from this session would be one step in the direction of doing things the right way with WordPress.<\/p>\n<p>The session will cover on how to use the <a title=\"Wordpress Settings API\" href=\"http:\/\/codex.wordpress.org\/Settings_API\" target=\"_blank\">WordPress Settings API<\/a> to add sections &amp; setting fields on existing settings pages as well as on new pages.<\/p>\n<p>It will also cover data validation &amp; sanitisation as they play an important role.<\/p>\n<p>Although it is not possible to cover a lot within 20-25 minutes on this topic, but the idea is to cover enough so that all theme &amp; plugin developers who are not already using the Settings API can start checking it out &amp; using it.<\/p>\n<p>You shall be able to find code resources on Github as well as notes. I shall be updating that soon &amp; posting the links here.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am the founder of Tyche Softwares &amp; the CTO at PreK12 Plaza. At Tyche, our team focuses on developing WooCommerce plugins. We&#8217;ve had the privilege of being the first to release a Booking plugin that&#8217;s fully integrated with WooCommerce. Apart from that, we maintain a very sharp &amp; limited focus on the plugins that [&hellip;]<\/p>\n","protected":false},"author":9268486,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[152007],"tags":[],"class_list":["post-2358","post","type-post","status-publish","format-standard","hentry","category-speaker-post"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4Wkg3-C2","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mumbai.wordcamp.org\/2015\/wp-json\/wp\/v2\/posts\/2358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mumbai.wordcamp.org\/2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mumbai.wordcamp.org\/2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mumbai.wordcamp.org\/2015\/wp-json\/wp\/v2\/users\/9268486"}],"replies":[{"embeddable":true,"href":"https:\/\/mumbai.wordcamp.org\/2015\/wp-json\/wp\/v2\/comments?post=2358"}],"version-history":[{"count":15,"href":"https:\/\/mumbai.wordcamp.org\/2015\/wp-json\/wp\/v2\/posts\/2358\/revisions"}],"predecessor-version":[{"id":2577,"href":"https:\/\/mumbai.wordcamp.org\/2015\/wp-json\/wp\/v2\/posts\/2358\/revisions\/2577"}],"wp:attachment":[{"href":"https:\/\/mumbai.wordcamp.org\/2015\/wp-json\/wp\/v2\/media?parent=2358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mumbai.wordcamp.org\/2015\/wp-json\/wp\/v2\/categories?post=2358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mumbai.wordcamp.org\/2015\/wp-json\/wp\/v2\/tags?post=2358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}