{"id":4094882,"date":"2013-09-04T12:23:32","date_gmt":"2013-09-04T12:23:32","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/conditional-in-php\/"},"modified":"2016-08-21T04:35:26","modified_gmt":"2016-08-21T04:35:26","slug":"conditional-in-php","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/conditional-in-php\/","title":{"rendered":"Conditional in php?"},"content":{"rendered":"<p>Hello, in first sorry for my bad english and thanks for this gread module.<br \/>\nIts the only one that really works blocking cookies.<br \/>\nI&#8217;ve managed to configure all de the scripts to work after the acceptation. But some wordpress modules have php code when loading cookies or javascript.<br \/>\nI&#8217;m no programmer but i understand the code.<br \/>\nThere&#8217;s a &#8220;if&#8221; (conditional) php code that i can use in other plugins?<br \/>\nLike<br \/>\nif (cookilian(acceptance_ok) {<br \/>\n \/\/load other cookies<br \/>\n}<br \/>\nThanks.<br \/>\nBest regards.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/cookillian\/<\/p>\n","protected":false},"template":"","class_list":["post-4094882","topic","type-topic","status-closed","hentry","topic-tag-conditional","topic-tag-if"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4094882","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\/4094882\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4094882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}