-
Notifications
You must be signed in to change notification settings - Fork 71
Filter: apple_news_skip_push_term_ids
Filters whether the post should be skipped and not pushed to Apple News based on taxonomy term IDs that are associated with the post.
$skip_term_ids
(int[]) The list of term IDs that should trigger a skipped push. Defaults to the term IDs set in plugin options.
$post_id
(int) The ID of the post being exported.
Allows you to stop publication of a post to Apple News based on whether a certain taxonomy term ID is applied to the post. A common use case is to not publish posts with a certain category or tag. The default value for this filter is the value of the skip push term IDs from the API settings for the plugin, but the list can be modified for individual posts via this filter.
For support, please file an issue here on GitHub or visit the WordPress.org support forum.