Skip to content

mastodon_api_account

github-actions[bot] edited this page Jul 28, 2026 · 37 revisions

Auto-generated Example

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

Parameters

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

Files

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 )
apply_filters( 'mastodon_api_account', null, $account_id )
apply_filters( 'mastodon_api_account', null, $user_id, $request, null )

← All Hooks

Clone this wiki locally