Skip to content

wpt_filter_mastodon_status

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

Filter status array for Mastodon.

Auto-generated Example

add_filter(
   'wpt_filter_mastodon_status',
    function(
        array $status,
        int $post_ID,
        int|bool $auth
    ) {
        // Your code here.
        return $status;
    },
    10,
    3
);

Parameters

  • array $status Array of parameters sent to Mastodon.
  • int $post_ID Post ID being tweeted.
  • int|bool $auth Authoring context.

Returns

array

Files

apply_filters( 'wpt_filter_mastodon_status', $status, $post_ID, $auth )

← All Hooks

Clone this wiki locally