{"id":7425525,"date":"2016-05-29T00:45:07","date_gmt":"2016-05-29T00:45:07","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-hide-box\/"},"modified":"2016-08-31T18:11:22","modified_gmt":"2016-08-31T18:11:22","slug":"php-hide-box","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-hide-box\/","title":{"rendered":"PHP Hide Box"},"content":{"rendered":"<p>Hi!  Great plugin \ud83d\ude42 <\/p>\n<p>I&#8217;m writing an if else statement in PHP to hide the box if the url contains the user&#8217;s id and need to come up with the PHP code to hide the box &#8211; I saw there was a function in javascript to do that (STB.hide( box ID )) but unfortunately can&#8217;t get the javascript to work in PHP.  Is there any PHP code for this?  Thanks!<\/p>\n<p>https:\/\/wordpress.org\/plugins\/scroll-triggered-boxes\/<\/p>\n","protected":false},"template":"","class_list":["post-7425525","topic","type-topic","status-publish","hentry","topic-tag-box","topic-tag-code","topic-tag-dont-appear","topic-tag-hide","topic-tag-javascript","topic-tag-php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7425525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7425525\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7425525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}