Skip to content

Instantly share code, notes, and snippets.

@tdtgit
Created May 23, 2018 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdtgit/c27b6597ce521c328fb3a73909d92f9d to your computer and use it in GitHub Desktop.
Save tdtgit/c27b6597ce521c328fb3a73909d92f9d to your computer and use it in GitHub Desktop.
if ( is_category( array(1, 2, 3) ) ) {
// Do something
} else {
// Do something else
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment