WordPress.org

Support

Support » Plugins and Hacks » how to check if an ID is of a page?

how to check if an ID is of a page?

  • dirkhaim
    Member

    @dirkhaim

    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?

  • The topic ‘how to check if an ID is of a page?’ is closed to new replies.