Skip to content

mastodon_api_account_unfollow

github-actions[bot] edited this page Jul 24, 2026 · 31 revisions

Unfollow the given account.

Auto-generated Example

add_action(
    'mastodon_api_account_unfollow',
    function (
        string $user_id,
        WP_REST_Request $request
    ) {
        // Your code here
    },
    10,
    2
);

Parameters

  • string $user_id The user ID.
  • WP_REST_Request $request The request object.

Files

do_action( 'mastodon_api_account_unfollow', $user_id, $request )

Hooks

Clone this wiki locally