forked from beezwax/WP-Publish-to-Apple-News
-
Notifications
You must be signed in to change notification settings - Fork 71
Filter: apple_news_post_status_cache_expiration
kevinfodness edited this page Oct 23, 2020
·
1 revision
Filters the cache lifetime for API responses.
$expiration
(int) The current cache lifetime.
$state
(string) The current Apple News API status for the post.
Most responses are cached to avoid repeatedly hitting the API, which would slow down your admin dashboard. Different statuses are cached for different times since some are more likely to change quickly than others.
For support, please file an issue here on GitHub or visit the WordPress.org support forum.