Support » Fixing WordPress » If post author = admin conditional statement?

  • Resolved Clicknathan


    Wondering if anyone knows how I can do a check to see “if the post’s author is an ADMIN” or “if the posts’ author is a CONTRIBUTOR”

    I want to do something like this:

    if (post_author == CONTRIBUTOR) { do this }
    else { do this }

    Any ideas?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘If post author = admin conditional statement?’ is closed to new replies.