Skip to content

Filter: apple_news_should_post_autopublish

kevinfodness edited this page Oct 23, 2020 · 1 revision

apply_filters( 'apple_news_should_post_autopublish', bool $should_autopublish, int $post_id, WP_Post $post )

Ability to override the autopublishing of posts on a per-post level.

Parameters

$should_autopublish

(bool) Flag if the post should autopublish.

$post_id

(int) Post ID.

$post

(WP_Post) Post object.

Source

admin/class-admin-apple-post-sync.php

Clone this wiki locally