• For one of my plugins, I did a check on is_archive().
    Reading from the codex documentation, I supposed it would return true on pages for categories, etc. But only on pages shown on the front-end.
    It surprised me that it also returned true when I was filtering posts by category on the post list page.

    What is the intended response for is_archive() when is_admin() is true?

    Sorry if this question is in the wrong place. If so, would you then point me to where to ask it?
    Thanks for any reaction.

  • The topic ‘Should is_archive() be TRUE on Admin page?’ is closed to new replies.