{"id":12771376,"date":"2020-05-03T02:06:02","date_gmt":"2020-05-03T02:06:02","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/or-condition\/"},"modified":"2020-05-03T02:06:02","modified_gmt":"2020-05-03T02:06:02","slug":"or-condition","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/or-condition\/","title":{"rendered":"OR Condition"},"content":{"rendered":"<p>I&#8217;ve been reading through the guides and there is a lot to take in, but have to say that this plugin is going to save me a lot of effort.<\/p>\n<p>I was just wondering if there was an OR condition as well?  I read about AND, NOT and ELSE, but didn&#8217;t see anything about OR.<\/p>\n<p>I&#8217;ve got a basic condition:<\/p>\n<pre><code>[is author]\n   \/\/ Another Shortcode Here\n[\/is]<\/code><\/pre>\n<p>And in addition to &#8220;is author&#8221;, I want to add:<br \/>\n&#8211; OR &#8220;is admin&#8221;<br \/>\n&#8211; OR &#8220;has capability xyz&#8221;<\/p>\n<p>How would I know how to do the above mentioned conditions, just not how to string them together.<\/p>\n","protected":false},"template":"","class_list":["post-12771376","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12771376","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\/12771376\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12771376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}