-
Notifications
You must be signed in to change notification settings - Fork 9
mastodon_api_conversation_mark_read
github-actions[bot] edited this page Apr 7, 2026
·
12 revisions
Modify the account conversations mark read.
add_action(
'mastodon_api_conversation_mark_read',
function (
array $conversations,
int $user_id,
WP_REST_Request $request
) {
// Your code here
},
10,
3
);-
array$conversationsThe account conversations. -
int$user_idThe user ID. -
WP_REST_Request$requestThe request object.
do_action( 'mastodon_api_conversation_mark_read', $id, $request )