title: is_admin function is not working for me in WordPress
body: <p>Hello I am not sure why 
      is_admin </p>
  
  <p>is not Working for me.
  Here is my code.</p>
  
  <pre><code>if($featuredADS == "0" || $availableADS == "0" || empty($result) &amp;&amp; $countPosts &gt;= $postLimitperUser &amp;&amp; $postLimitOn == 1 &amp;&amp; !is_admin()){
  //Some Code here
  }else{
  //Some Code here Which is always Work for admin
  }
  </code></pre>
  
  <p>I want to ignore this check for admin user. If user is admin then i want to run code from (else).</p>