-
Notifications
You must be signed in to change notification settings - Fork 19
mastodon_api_status
github-actions[bot] edited this page Jul 28, 2026
·
10 revisions
add_filter(
'mastodon_api_status',
function(
$ret,
$ID,
array $array = null
) {
// Your code here.
return $ret;
},
10,
2
);$ret-
$IDOther variable names:$post_id -
array$array
apply_filters( 'mastodon_api_status', null, $last_status->ID )apply_filters( 'mastodon_api_status', null, $post_id )apply_filters( 'mastodon_api_status', null, $post->ID, array() )