-
Notifications
You must be signed in to change notification settings - Fork 19
mastodon_api_account
github-actions[bot] edited this page Sep 6, 2026
·
46 revisions
add_filter(
'mastodon_api_account',
function(
$ret,
$account_id,
$request = null,
$ret = null
) {
// Your code here.
return $ret;
},
10,
2
);$ret-
$account_idOther variable names:$user_id,$ID,$attributed_to_url,$get_friend_user_->id -
$requestOther variable names:$ret -
$retOther variable names:$post_id
apply_filters( 'mastodon_api_account', null, $account_id )apply_filters( 'mastodon_api_account', null, $user_id, $request, null )apply_filters( 'mastodon_api_account', null, $friend_user->ID, null, $post_id )apply_filters( 'mastodon_api_account', null, $attributed_to_url )apply_filters( 'mastodon_api_account', null, $user_feed->get_friend_user()->ID )