How to get current post/page/custom post type post data (ID, Post Name, Post Title, Etc.) in init action?