{"id":3756,"date":"2021-03-12T21:39:41","date_gmt":"2021-03-12T21:39:41","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=3756"},"modified":"2022-02-17T07:13:46","modified_gmt":"2022-02-17T07:13:46","slug":"debugging-tips","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/wordpress\/debugging-wordpress\/debugging-tips","title":{"rendered":"Debugging checklist\/tips"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Using a namespace?<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>All php files declare the namespace at the top?<\/li><li>Search all the files for &#8220;add_action&#8221;, confirm all uses include the namespace before the function name<\/li><li>Search all the files for &#8220;add_shortcode&#8221;, confirm all uses include the namespace before the function name<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Using a namespace? All php files declare the namespace at the top? Search all the files for &#8220;add_action&#8221;, confirm all uses include the namespace before the function name Search all the files for &#8220;add_shortcode&#8221;, confirm all uses include the namespace before the function name<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[208],"tags":[],"class_list":["post-3756","post","type-post","status-publish","format-standard","hentry","category-debugging-wordpress"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/3756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=3756"}],"version-history":[{"count":3,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/3756\/revisions"}],"predecessor-version":[{"id":3764,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/3756\/revisions\/3764"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=3756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=3756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=3756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}