Skip to content

mastodon_api_account

github-actions[bot] edited this page Sep 6, 2026 · 46 revisions

Auto-generated Example

add_filter(
   'mastodon_api_account',
    function(
        $ret,
        $account_id,
        $request = null,
        $ret = null
    ) {
        // Your code here.
        return $ret;
    },
    10,
    2
);

Parameters

  • $ret
  • $account_id Other variable names: $user_id, $ID, $attributed_to_url, $get_friend_user_->id
  • $request Other variable names: $ret
  • $ret Other variable names: $post_id

Files

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 )

← All Hooks

Clone this wiki locally