forked from beezwax/WP-Publish-to-Apple-News
-
Notifications
You must be signed in to change notification settings - Fork 71
Filter: apple_news_generate_json
kevinfodness edited this page Oct 23, 2020
·
1 revision
Filters the final article JSON before being sent to Apple News.
$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.
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.
For support, please file an issue here on GitHub or visit the WordPress.org support forum.