Is there any way to see the unique id of the post that the filter:post.parse
is running against?
Right now I can only see the post content from inside the function mapped to that filter above. I am not sure how to get a unique identifier to figure out which post exactly I am in.
I thought about using data.url
attribute but that could actually point to any post in the current topic. So at most, that could give me the topic id, but not a unique identifier for the post.
Also, am I right to think that there is a unique post id somewhere, or do I have to combine topic id with post id to create a unique identifier?
My goal is to store some data against the current post that my plugin is filtering, but I am not sure how to do that yet.