forked from beezwax/WP-Publish-to-Apple-News
-
Notifications
You must be signed in to change notification settings - Fork 71
Filter: apple_news_should_post_delete_on_unpublish
Kevin Fodness edited this page Nov 9, 2022
·
2 revisions
Determines whether to delete an article via the Apple News API if it is unpublished in WordPress (defined as moving a post from the publish
status to any other status, including trash
).
$should_delete
(bool) Whether the post should be deleted via the Apple News API or not.
$post_id
(int) The ID of the post that was unpublished.
For support, please file an issue here on GitHub or visit the WordPress.org support forum.