Skip to content

mastodon_api_status

github-actions[bot] edited this page Dec 11, 2025 · 3 revisions

Auto-generated Example

add_filter(
   'mastodon_api_status',
    function(
        $ret,
        $ID
    ) {
        // Your code here.
        return $ret;
    },
    10,
    2
);

Parameters

  • $ret
  • $ID Other variable names: $post_id

Files

apply_filters( 'mastodon_api_status', null, $last_status->ID )
apply_filters( 'mastodon_api_status', null, $post_id )

← All Hooks

Clone this wiki locally