WordPress.org

Forums

[resolved] If post author = admin conditional statement? (2 posts)

  1. Clicknathan
    Member
    Posted 3 years ago #

    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?

  2. Clicknathan
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.