Action: apple_news_before_delete - alleyinteractive/apple-news GitHub Wiki

do_action( 'apple_news_before_delete', string $remote_id, int $post_id )

Actions to be taken before an article is deleted via the API.

Parameters

$remote_id

(string) The API ID of the article from Apple's servers.

$post_id

(int) The post ID from WordPress.

Source

admin/apple-actions/index/class-delete.php