-
Notifications
You must be signed in to change notification settings - Fork 6
Hooks
Alex Kirk edited this page Nov 25, 2024
·
9 revisions
mastodon_api_get_posts_query_args
-
mastodon_api_status
Modify the status data.
-
mastodon_api_account_follow
Follow the given account. -
mastodon_api_account_followers
Modify the account followers. -
mastodon_api_account_relationships
Modify the account relationships. mastodon_api_account_statuses_args
-
mastodon_api_account_unfollow
Unfollow the given account. mastodon_api_account_visibility
-
mastodon_api_canonical_user_id
Map a user id to a canonical user id. mastodon_api_edit_status
mastodon_api_generic_routes
-
mastodon_api_in_reply_to_id
Allow modifying the in_reply_to_id before it gets used -
mastodon_api_instance_domain_blocks
Modify the instance domain_blocks returned for/api/instance/domain_blocks
requests. -
mastodon_api_instance_extended_description
Modify the instance extended_description returned for/api/instance/extended_description
requests. -
mastodon_api_instance_peers
Modify the instance peers returned for/api/instance/peers
requests. -
mastodon_api_instance_rules
Modify the instance rules returned for/api/instance/rules
requests. -
mastodon_api_instance_translation_languages
Modify the translation languages returned for/api/instance/translation_languages
requests. -
mastodon_api_instance_v1
Modify the instance data returned for/api/instance
requests. -
mastodon_api_instance_v2
Modify the instance data returned for/api/instance
requests. -
mastodon_api_mapback_user_id
Map back a public id to the previous user id. mastodon_api_new_post_format
mastodon_api_nodeinfo
mastodon_api_nodeinfo_software
mastodon_api_notification_clear
mastodon_api_notification_dismiss
mastodon_api_notification_get
mastodon_api_notifications_get
mastodon_api_parametrized_routes
-
mastodon_api_public_timeline
Modify the public timelines data returned for/api/timelines/(public)
requests. -
mastodon_api_react
2764 = heart mastodon_api_reblog
mastodon_api_register_rest_routes
-
mastodon_api_relationship
Modify the account relationship. mastodon_api_search
mastodon_api_status_context
mastodon_api_status_source
-
mastodon_api_statuses
Filter the account statuses. mastodon_api_submit_status
-
mastodon_api_submit_status_text
Allow modifying the status text before it gets posted. -
mastodon_api_tag_timeline
Modify the timelines data returned for/api/timelines/(tag)/
requests. -
mastodon_api_timelines
Modify the timelines data returned for/api/timelines/(home)
requests. -
mastodon_api_unreact
2764 = heart mastodon_api_unreblog
-
mastodon_api_update_credentials
An action for clients to hook into for setting user profile data.
-
mastodon_api_account
Modify the account data returned for/api/account/{user_id}
requests. -
mastodon_api_get_notifications_query_args
Get the WP_Query arguments for fetching notifications. mastodon_api_notification_dismissed_tag
-
mastodon_entity_relationship
Modify account relationship.
-
mastodon_api_media_attachment
Filters the media attachment returned by the API.
-
mastodon_api_timelines_args
Filter the query arguments for the timeline.