-
Notifications
You must be signed in to change notification settings - Fork 4
wpt_do_bluesky_post
github-actions[bot] edited this page Jun 20, 2026
·
3 revisions
Filter the approval to send a Bluesky post.
add_filter(
'wpt_do_bluesky_post',
function(
bool $do_post,
int|bool $auth,
int $post_ID,
string $text
) {
// Your code here.
return $do_post;
},
10,
4
);-
bool$do_postReturn false to cancel this post. -
int|bool$authAuthor. -
int$post_IDPost ID. -
string$textStatus update text.
bool
apply_filters( 'wpt_do_bluesky_post', true, $auth, $post_ID, $status['text'] )