Changes between Initial Version and Version 1 of Ticket #6693, comment 3
- Timestamp:
- 10/29/2015 09:46:15 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6693, comment 3
initial v1 1 1 I had the same task in one of my plugins. 2 The hardest part is such :2 The hardest part is such (the decision): 3 3 We have `wp_delete_post($post_id, $force = true)` - which is totally ok, its hook passes `$post_id` and we can completely delete activity. 4 4 But there is also a `wp_trash_post()` or `wp_delete_post($post_id, $force = false)` - and we don't have a `trash` for activity entries.