moveToTrash
Permalink
Could we see the moveToTrash() documented here? I think the method most of us would assume we ought to use for page deletion is delete(), but that'll will actually run an SQL DELETE against your pages, which is pretty harsh. I had to read the core php to find moveToTrash(), but it's a pretty safe thing to call from what I can tell. A great deal safer than delete(), at least.