Filter: apple_news_generate_json - alleyinteractive/apple-news GitHub Wiki
apply_filters( 'apple_news_generate_json', array $json, int $post_id )
Filters the final article JSON before being sent to Apple News.
Parameters
$json
(array) The PHP array representation of the article JSON before it is encoded into a string.
$post_id
(int) The ID of the post.
More Information
One of the most powerful filters available. This allows you to change any aspect of the final JSON right before it is sent to Apple News. Some sites use this to replace the content with their own custom templates.