Skip to content

wpt_do_bluesky_post

github-actions[bot] edited this page Jun 20, 2026 · 3 revisions

Filter the approval to send a Bluesky post.

Auto-generated Example

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
);

Parameters

  • bool $do_post Return false to cancel this post.
  • int|bool $auth Author.
  • int $post_ID Post ID.
  • string $text Status update text.

Returns

bool

Files

apply_filters( 'wpt_do_bluesky_post', true, $auth, $post_ID, $status['text'] )

← All Hooks

Clone this wiki locally