[wp-hackers] transients API and removing stored results

Andrew Nacin wp at andrewnacin.com
Thu Mar 3 14:20:11 UTC 2011


On Thu, Mar 3, 2011 at 8:27 AM, Christopher Ross <cross at thisismyurl.com>wrote:

> Andrew, would I be right to assume that the post_meta will be destroyed
> when the wp_delete_post() is triggered as well?


Provided the post is deleted, rather than sent to the trash, yes. As are
comments and revisions. Attachments are orphaned, children get promoted,
etc.


More information about the wp-hackers mailing list