{"id":23,"date":"2011-08-08T21:23:37","date_gmt":"2011-08-08T21:23:37","guid":{"rendered":"http:\/\/oik-plugins.com\/?page_id=23"},"modified":"2014-08-18T22:10:13","modified_gmt":"2014-08-18T22:10:13","slug":"oik-bwtrace","status":"publish","type":"shortcode_example","link":"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/","title":{"rendered":"&#91;&#91;bwtron&#93;&#93; and &#91;&#91;bwtroff&#93;&#93;"},"content":{"rendered":"These two shortcodes <span class=\"bw_code bwtron\"><span>[<\/span>bwtron]<\/span> and <span class=\"bw_code bwtroff\"><span>[<\/span>bwtroff]<\/span>, from the <span class=\"bw_plug\"><a class=\"plugin\" href=\"https:\/\/www.oik-plugins.com\/oik-plugins\/oik-bwtrace-debug-trace-for-wordpress\/\" title=\"Link to the oik-bwtrace (oik-bwtrace: debug trace for WordPress) plugin\">oik-bwtrace<\/a><\/span> plugin, may be used to turn tracing on and off during the &#8220;execution&#8221; of a page, post or widget.<!--more-->\r\n\r\nWhether or not you get any output traced between the calls depends on the code being invoked. If there are no calls to the functions <a class=\"bw_api\" href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_trace\/\">bw_trace<\/a>(), or <a class=\"bw_api\" href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_trace2\/\">bw_trace2<\/a>() or <a class=\"bw_api\" href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_backtrace\/\">bw_backtrace<\/a>() then there won&#8217;t be much output.\r\n<h3>Example<\/h3>\r\nHere we are going to trace the execution of the <a class=\"bw_code bw_plug\" href=\"https:\/\/www.oik-plugins.com\/oik-shortcodes\/bw_plug\/bw_plug\" title=\"Link to help for shortcode: bw_plug\"><span>[<\/span>bw_plug]<\/a> shortcode.\r\n<div class=\"bw_geshi html5\"><code><br \/>\n&#091;bwtron]<br \/>\n&#091;bw_plug name='oik']<br \/>\n&#091;bwtroff]<br \/>\n&nbsp;<\/code><\/div>\r\n\r\n[bwtron]\r\n<span class=\"bw_plug\"><a class=\"plugin\" href=\"https:\/\/www.oik-plugins.com\/oik-plugins\/oik\/\" title=\"Link to the oik (oik: lazy smart shortcodes for your WordPress website) plugin\">oik<\/a><\/span>\r\n[bwtroff]","protected":false},"excerpt":{"rendered":"<p>These two shortcodes <span class=\"bw_code bwtron\"><span>[<\/span>bwtron]<\/span> and <span class=\"bw_code bwtroff\"><span>[<\/span>bwtroff]<\/span>, from the <span class=\"bw_plug\"><a class=\"plugin\" href=\"https:\/\/www.oik-plugins.com\/oik-plugins\/oik-bwtrace-debug-trace-for-wordpress\/\" title=\"Link to the oik-bwtrace (oik-bwtrace: debug trace for WordPress) plugin\">oik-bwtrace<\/a><\/span> plugin, may be used to turn tracing on and off during the &#8220;execution&#8221; of a page, post or widget.<\/p>\n","protected":false},"featured_media":0,"template":"","letters":[],"class_list":{"0":"post-23","1":"shortcode_example","2":"type-shortcode_example","3":"status-publish","5":"entry","6":"has-post-thumbnail"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>&#091;&#091;bwtron&#093;&#093; and &#091;&#091;bwtroff&#093;&#093; - [oik] plugins.com<\/title>\n<meta name=\"description\" content=\"Use bwtron and bwtroff to turn tracing on and off\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"&#091;&#091;bwtron&#093;&#093; and &#091;&#091;bwtroff&#093;&#093; - [oik] plugins.com\" \/>\n<meta property=\"og:description\" content=\"Use bwtron and bwtroff to turn tracing on and off\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/\" \/>\n<meta property=\"og:site_name\" content=\"[oik] plugins.com\" \/>\n<meta property=\"article:modified_time\" content=\"2014-08-18T22:10:13+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/\",\"url\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/\",\"name\":\"&#91;&#91;bwtron&#93;&#93; and &#91;&#91;bwtroff&#93;&#93; - [oik] plugins.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.oik-plugins.com\/#website\"},\"datePublished\":\"2011-08-08T21:23:37+00:00\",\"dateModified\":\"2014-08-18T22:10:13+00:00\",\"description\":\"Use bwtron and bwtroff to turn tracing on and off\",\"breadcrumb\":{\"@id\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Shortcode examples\",\"item\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shortcodes\",\"item\":\"https:\/\/www.oik-plugins.com\/shortcodes\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"&#91;&#91;bwtron&#93;&#93; and &#91;&#91;bwtroff&#93;&#93;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.oik-plugins.com\/#website\",\"url\":\"https:\/\/www.oik-plugins.com\/\",\"name\":\"[oik] plugins.com\",\"description\":\"WordPress plugins and themes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.oik-plugins.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"&#91;&#91;bwtron&#93;&#93; and &#91;&#91;bwtroff&#93;&#93; - [oik] plugins.com","description":"Use bwtron and bwtroff to turn tracing on and off","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/","og_locale":"en_US","og_type":"article","og_title":"&#91;&#91;bwtron&#93;&#93; and &#91;&#91;bwtroff&#93;&#93; - [oik] plugins.com","og_description":"Use bwtron and bwtroff to turn tracing on and off","og_url":"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/","og_site_name":"[oik] plugins.com","article_modified_time":"2014-08-18T22:10:13+00:00","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/","url":"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/","name":"&#91;&#91;bwtron&#93;&#93; and &#91;&#91;bwtroff&#93;&#93; - [oik] plugins.com","isPartOf":{"@id":"https:\/\/www.oik-plugins.com\/#website"},"datePublished":"2011-08-08T21:23:37+00:00","dateModified":"2014-08-18T22:10:13+00:00","description":"Use bwtron and bwtroff to turn tracing on and off","breadcrumb":{"@id":"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.oik-plugins.com\/shortcode_example\/oik-bwtrace\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Shortcode examples","item":"https:\/\/www.oik-plugins.com\/shortcode_example\/"},{"@type":"ListItem","position":2,"name":"Shortcodes","item":"https:\/\/www.oik-plugins.com\/shortcodes\/"},{"@type":"ListItem","position":3,"name":"&#91;&#91;bwtron&#93;&#93; and &#91;&#91;bwtroff&#93;&#93;"}]},{"@type":"WebSite","@id":"https:\/\/www.oik-plugins.com\/#website","url":"https:\/\/www.oik-plugins.com\/","name":"[oik] plugins.com","description":"WordPress plugins and themes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.oik-plugins.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/shortcode_example\/23","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/shortcode_example"}],"about":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/types\/shortcode_example"}],"version-history":[{"count":12,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/shortcode_example\/23\/revisions"}],"predecessor-version":[{"id":1151,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/shortcode_example\/23\/revisions\/1151"}],"wp:attachment":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/media?parent=23"}],"wp:term":[{"taxonomy":"letters","embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/letters?post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}