{"id":432,"date":"2012-07-30T10:08:32","date_gmt":"2012-07-30T14:08:32","guid":{"rendered":"https:\/\/2012.grandrapids.wordcamp.org\/?post_type=wcb_session&#038;p=432"},"modified":"2012-11-21T06:27:57","modified_gmt":"2012-11-21T10:27:57","slug":"awesome-helper-functions-in-wordpress-core","status":"publish","type":"wcb_session","link":"https:\/\/grandrapids.wordcamp.org\/2012\/session\/awesome-helper-functions-in-wordpress-core\/","title":{"rendered":"Awesome Helper Functions in WordPress Core"},"content":{"rendered":"<p>This talk will showcase some of the awesome helper functions in WordPress core. These functions will break down into three categories:<\/p>\n<ol>\n<li>Display helpers: This will cover some of the cooler display oriented helper functions, such as checked(), selected(), disabled(), paginate_links(), etc.<\/li>\n<li>Data helpers: This will cover some of the useful functions for manipulating, getting, and returning data, such as __return_[true|false|zero|empty_array|null](), wp_list_pluck(), wp_list_filter(), [add|remove]_query_arg(), absint(), form_option(), url_to_post_id(), trailingslashit(), etc.<\/li>\n<li>Action helpers: This will cover some of the useful functions for executing functionality, such as: media_sideload_image(), wp_remote_[get|post](), wp_localize_script(), wp_mkdir_p(), get_temp_dir(), wp_die(), etc.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>This talk will showcase some of the awesome helper functions in WordPress core. These functions will break down into three categories: Display helpers: This will cover some of the cooler display oriented helper functions, such as checked(), selected(), disabled(), paginate_links(), &hellip; <a href=\"https:\/\/grandrapids.wordcamp.org\/2012\/session\/awesome-helper-functions-in-wordpress-core\/\">Continue reading <span class=\"screen-reader-text\">Awesome Helper Functions in WordPress Core<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":648209,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":0,"_wcpt_session_duration":3000,"_wcpt_session_type":"","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[374],"footnotes":""},"session_track":[5041],"session_category":[],"class_list":["post-432","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-developer"],"jetpack_shortlink":"https:\/\/wp.me\/p2g32f-6Y","jetpack_sharing_enabled":true,"session_date_time":{"date":"","time":""},"session_speakers":[{"id":"374","slug":"john-p-bloch","name":"John P Bloch","link":"https:\/\/grandrapids.wordcamp.org\/2012\/speaker\/john-p-bloch\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/grandrapids.wordcamp.org\/2012\/wp-json\/wp\/v2\/sessions\/432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/grandrapids.wordcamp.org\/2012\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/grandrapids.wordcamp.org\/2012\/wp-json\/wp\/v2\/types\/wcb_session"}],"author":[{"embeddable":true,"href":"https:\/\/grandrapids.wordcamp.org\/2012\/wp-json\/wp\/v2\/users\/648209"}],"version-history":[{"count":3,"href":"https:\/\/grandrapids.wordcamp.org\/2012\/wp-json\/wp\/v2\/sessions\/432\/revisions"}],"predecessor-version":[{"id":897,"href":"https:\/\/grandrapids.wordcamp.org\/2012\/wp-json\/wp\/v2\/sessions\/432\/revisions\/897"}],"speakers":[{"embeddable":true,"href":"https:\/\/grandrapids.wordcamp.org\/2012\/wp-json\/wp\/v2\/speakers\/374"}],"wp:attachment":[{"href":"https:\/\/grandrapids.wordcamp.org\/2012\/wp-json\/wp\/v2\/media?parent=432"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/grandrapids.wordcamp.org\/2012\/wp-json\/wp\/v2\/session_track?post=432"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/grandrapids.wordcamp.org\/2012\/wp-json\/wp\/v2\/session_category?post=432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}