PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

is_admin() not returning true in gravity forms admin pages.

  1. I'm programming a plugin that outputs some css. It doesn't output in the dashboard via the if(!is_admin()) { }.

    In the gravity forms pages is_admin is coming up false so its outputting the css and messing up the form editor.

    Am I missing something?

    I'm running an updated version.

    Posted 13 years ago on Wednesday September 7, 2011 | Permalink
  2. Fixed it.
    Had it in the wrong function. Still should have worked, but I found a solution.

    Posted 13 years ago on Wednesday September 7, 2011 | Permalink
  3. Glad you resolved it.

    Posted 13 years ago on Wednesday September 7, 2011 | Permalink

This topic has been resolved and has been closed to new replies.