WordPress: $post Object Attributes

The $post object is used constantly in WordPress. Whether you are developing a custom theme or even a WordPress plugin, you may very likely end up utilizing the $post object to grab data from posts. And so, in that regard, it’s useful to have a simple list of $post attributes for reference.

If you are familiar with the WordPress API, then many of the attributes are actually pretty obvious/ However, if you ever forget any of them, well, here you go!


Hope it helped!

Leave a Reply

Your email address will not be published.