how to check if an ID is of a page? (1 post)

  1. dirkhaim
    Posted 8 years ago #

    How can I check if an ID that I have is a page's ID or a post's ID? I am outside of the loop. Actually I am under the save_post action hook

    Any idea?

Topic Closed

This topic has been closed to new replies.

About this Topic