(Moderator’s note: Title was originally “What are all the variables in the wordpress post object?”)
Does anyone know the variables that are stored in the WordPress Post object?
(Moderator’s note: Title was originally “What are all the variables in the wordpress post object?”)
Does anyone know the variables that are stored in the WordPress Post object?
You must be logged in to post a comment.
Post object is mostly queried row of
wp_posts
database table with some extras. It is easy to dump content of one and see:If you are referring to what you can access using
$post
(retrieved usingvar_dump
):