I'm working on a plugin and am having problems with the get_the_* functions. It seems to be hit and miss about what works and how to use them.
For instance, the get_the_title() only works if I pass it the $post_ID, even though the documentation says it's a parameterless function.
Now, get_the_guid() doesn't work with or without the $post_ID. However, get_permalink($post_ID) works, but not without the $post_ID. But this isn't a function in template-functions-post.php.
It seems like I'm picking and choosing fucntions from all over and each has a slightly different way of using them. And some are not documented. Is there a better way of grabbing the following information?
Again, this is outside the loop. It's a plugin that grabs this information when a post is published and sends it to another script via HTTP.
Thanks a million.