-
Notifications
You must be signed in to change notification settings - Fork 7
mastodon_api_instance_v1
Alex Kirk edited this page Feb 8, 2025
·
15 revisions
Modify the instance data returned for /api/instance
requests.
add_filter( 'mastodon_api_instance_v2', function( $instance_data ) {
return new Entity\Instance();
} );
-
array
$ret
The instance data.
array
The modified instance data.
apply_filters( 'mastodon_api_instance_v1', null )