-
Notifications
You must be signed in to change notification settings - Fork 83
Hooks
github-actions[bot] edited this page Oct 29, 2025
·
37 revisions
-
activitypub_json_postFires after an ActivityPub object is generated and sent to the client. -
activitypub_json_preFires before an ActivityPub object is generated and sent to the client.
-
activitypub_handled_acceptFires after an ActivityPub Accept activity has been handled.
-
activitypub_extract_mentionsFilter the mentions in the comment.
-
activitypub_rest_users_preAction triggered prior to the ActivityPub profile being created and sent to the client.
-
activitypub_inboxFires after an Announce has been received. -
activitypub_inbox_ActivityPub inbox action for specific activity types. -
activitypub_inbox_postFires after the ActivityPub inbox has been created and sent to the client. -
activitypub_rest_inbox_arrayFilters the ActivityPub inbox data before it is sent to the client. -
activitypub_rest_inbox_disallowedActivityPub inbox disallowed activity for specific user. -
activitypub_rest_inbox_preFires before the ActivityPub inbox is created and sent to the client. -
activitypub_skip_inbox_storageFilter to skip inbox storage. -
activitypub_validate_objectFilter the ActivityPub object validation.
-
activitypub_pre_get_by_usernameFilter the username before we do anything else.
-
activitypub_handled_announceFires after an ActivityPub Announce activity has been handled.
-
activitypub_attachments_media_markupFilters the media markup for ActivityPub attachments. -
activitypub_files_media_markupFilters the media markup for ActivityPub file-based attachments.
-
activitypub_attachmentFilter the attachment for a post. -
activitypub_get_imageFilter the image URL returned for each post. -
activitypub_get_image_postHook into the image retrieval process. After image retrieval. -
activitypub_get_image_preHook into the image retrieval process. Before image retrieval. -
activitypub_image_srcFilter the image source URL. -
activitypub_localeFilter the locale of the post. -
activitypub_transform_setFilter the value before it is set to the Activity-Object$activity_object.
-
activitypub_add_user_blockFired when a domain or keyword is blocked. -
activitypub_blocked_actors_row_actionsFilters the array of row action links on the Blocked Actors list table. -
activitypub_remove_user_blockFired when a domain or keyword is unblocked.
-
activitypub_construct_model_actorFires when a model actor is constructed. -
activitypub_default_blog_usernameFilters the default blog username.
-
activitypub_collection_syncAction triggered Collection Sync. -
activitypub_collection_sync_frequencyFilter the frequency of Collection-Synchronization headers sent to a given authority. -
activitypub_followers_sync_reconciledAction triggered after reconciliation is complete.
-
activitypub_comment_attachment_idsFilter the attachment IDs for a comment. -
activitypub_comment_attachmentsFilter the attachments for a comment. -
activitypub_comment_reply_linkFilters the HTML markup for the ActivityPub remote comment reply container.
-
activitypub_handled_createFires after an ActivityPub Create activity has been handled. -
activitypub_inbox_updateFires when a Create activity is received for an existing object.
-
activitypub_handled_deleteFires after an ActivityPub Delete activity has been handled.
-
activitypub_additional_inboxesFilters the list of inboxes to send the Activity to. -
activitypub_dispatcher_batch_sizeFilters the batch size for processing outbox items. -
activitypub_dispatcher_retry_delayFilters the retry delay unit (in seconds). -
activitypub_dispatcher_retry_error_codesFilters the error codes that qualify for a retry. -
activitypub_dispatcher_retry_max_attemptsFilters the maximum number of retry attempts. -
activitypub_outbox_processing_batch_completeFires when the batch of followers is complete. -
activitypub_outbox_processing_completeFires when the followers are complete. -
activitypub_pre_send_to_inboxesFires before sending an Activity to inboxes. activitypub_send_activity-
activitypub_send_activity_to_followersFilters whether to send an Activity to followers. -
activitypub_sent_to_inboxFires after an Activity has been sent to an inbox.
-
activitypub_actor_extra_fields_limitFilters the number of extra fields to retrieve for an ActivityPub actor. -
activitypub_extra_field_contentFilters the content of an extra field. -
activitypub_get_actor_extra_fieldsFilters the extra fields for an ActivityPub actor.
-
activitypub_transformerFilter the transformer for a given object.
-
activitypub_handled_followFires after a Follow activity has been handled.
-
activitypub_rest_followers_preAction triggered prior to the ActivityPub profile being created and sent to the client.
-
activitypub_followers_pre_remove_followerFires before a Follower is removed. -
activitypub_followers_row_actionsFilters the array of row action links for each follower in the Followers list table.
-
activitypub_rest_following_preAction triggered prior to the ActivityPub profile being created and sent to the client.
-
activitypub_following_row_actionsFilters the array of row action links on the Following list table.
-
activitypub_activity_object_arrayFilter the array of the ActivityPub object. -
activitypub_json_encode_optionsOptions to be passed to json_encode().
-
activitypub_register_handlersRegister additional handlers.
-
activitypub_pre_http_getFires before an HTTP GET request is made. -
activitypub_pre_http_get_remote_objectFilters the preemptive return value of a remote object request. -
activitypub_pre_http_postFires before an HTTP POST request is made. -
activitypub_remote_get_timeoutFilters the timeout duration for remote GET requests in ActivityPub. -
activitypub_safe_remote_get_responseAction to save the response of the remote GET request. -
activitypub_safe_remote_post_responseAction to save the response of the remote POST request.
-
activitypub_inbox_sharedActivityPub shared inbox action. -
activitypub_inbox_shared_ActivityPub shared inbox action for specific activity types.
-
activitypub_interactions_follow_urlFilters the URL used for following an ActivityPub actor. -
activitypub_interactions_reply_urlFilters the URL used for replying to an ActivityPub object. -
activitypub_interactions_starter_kit_urlFilters the URL used for importing a Starter Kit collection. -
activitypub_interactions_urlFilters the redirect URL.
-
activitypub_handled_likeFires after an ActivityPub Like activity has been handled.
-
activitypub_link_relFilters the rel attribute for ActivityPub links.
-
activitypub_litespeed_cache_htaccess_fileFilter the htaccess file path.
-
activitypub_import_mastodon_post_dataFilter the post data before inserting it into the database.
-
activitypub_migrateFires when the system has to be migrated. -
added_post_metaFires when post meta is added.
-
activitypub_add_site_blockFired when a domain or keyword is blocked site-wide. -
activitypub_remove_site_blockFired when a domain or keyword is unblocked site-wide.
-
activitypub_rest_moderatorsFilter the list of moderators.
-
activitypub_enable_primary_domain_movesFilter to enable automatically moving Fediverse accounts when the domain changes. -
activitypub_handled_moveFires after an ActivityPub Move activity has been handled.
-
activitypub_rest_nodeinfo_preFires before the NodeInfo data is created and sent to the client. -
nodeinfo_dataFilter the NodeInfo data.
-
activitypub_rest_outbox_arrayFilter the ActivityPub outbox array. -
activitypub_rest_outbox_item_errorAction triggered when an outbox item is not a WP_Post. -
activitypub_rest_outbox_postAction triggered after the ActivityPub profile has been created and sent to the client. -
activitypub_rest_outbox_preAction triggered prior to the ActivityPub profile being created and sent to the client. -
activitypub_rest_outbox_queryFilters WP_Query arguments when querying Outbox items via the REST API. -
rest_activitypub_outbox_activity_typesFilters the list of activity types to include in the outbox.
-
activitypub_get_outbox_activityFilters the Activity object before it is returned.
-
activitypub_after_register_post_typeFires after ActivityPub custom post types have been registered.
-
activitypub_attachment_idsFilter the attachment IDs for a post. -
activitypub_attachmentsFilter the attachments for a post. -
activitypub_before_get_contentProvides an action hook so plugins can add their own hooks/filters before AP content is generated. -
activitypub_max_image_attachmentsFilters the maximum number of media attachments allowed in a comment. -
activitypub_object_content_templateFilters the template used to generate ActivityPub object content. -
activitypub_the_contentFilter the content of the comment. -
filter_media_by_object_typeFilter the object type for media attachments.
-
activitypub_is_activitypub_requestFilters whether the current request is an ActivityPub request. -
activitypub_queried_objectFilters the queried object. -
activitypub_should_negotiate_contentFilters whether content negotiation should be forced.
-
activitypub_handled_quote_requestFires after an ActivityPub QuoteRequest activity has been handled.
-
activitypub_handled_rejectFires after an ActivityPub Reject activity has been handled.
-
activitypub_preview_templateFilter the template used for the ActivityPub preview.
-
activitypub_cleanup_remote_actors_numberFilter the number of remote Actors to clean up. -
activitypub_handled_inboxFires after an ActivityPub Inbox activity has been handled. -
activitypub_handled_inbox_Fires after an ActivityPub Inbox activity has been handled. -
activitypub_register_schedulersRegister additional schedulers. -
activitypub_scheduler_async_batch_pauseFilters the pause between async batches (in seconds). -
activitypub_update_remote_actors_numberFilter the number of remote Actors to update.
-
activitypub_screen_optionsFilters Activitypub settings screen options.
-
activitypub_defer_signature_verificationFilter to defer signature verification.
-
activitypub_admin_settings_tabsFilters the tabs displayed in the ActivityPub settings.
-
activitypub_surge_cache_config_fileFilter the config file path.
-
activitypub_pre_http_is_tombstoneFires before checking if the URL is a tombstone.
-
activitypub_handled_undoFires after an ActivityPub Undo activity has been handled.
-
activitypub_handled_updateFires after an ActivityPub Update activity has been handled. -
activitypub_inbox_createFires when a Create activity is received for an existing object.
-
activitypub_rest_webfinger_preAction triggered prior to the ActivityPub profile being created and sent to the client.
-
activitypub_post_follow_formAction to add custom content after the follow form.
-
activitypub_activity_object_typesFilters the activity object types. -
activitypub_activity_typesFilters the activity types. -
activitypub_actor_typesFilters the actor types. -
activitypub_add_to_outbox_failedAction triggered when adding an object to the outbox fails. -
activitypub_collection_typesFilters the collection types. -
activitypub_content_visibilityFilters the visibility of a post. -
activitypub_esc_hashtagAllow defining your own custom hashtag generation rules. -
activitypub_excerpt_moreFilters the excerpt more value. -
activitypub_get_upload_baseurlFilters the upload base URL. -
activitypub_get_wp_object_stateAllow plugins to get the federation state of a WordPress object. -
activitypub_is_blog_publicFilter whether the blog is public. -
activitypub_is_post_disabledAllow plugins to disable posts for ActivityPub. -
activitypub_is_user_type_disabledAllow plugins to disable user types for ActivityPub. -
activitypub_json_contextFilters the ActivityPub JSON-LD context. -
activitypub_mark_wp_object_as_federatedAllow plugins to mark WordPress objects as federated. -
activitypub_post_type_descriptionAllow plugins to get the description of a post type. -
activitypub_registered_comment_typeFires after a ActivityPub comment type is registered. -
activitypub_reply_intent_paramsFilters the reply intent parameters. -
activitypub_reply_intent_urlFilters the reply intent URL. -
activitypub_site_supports_blocksAllow plugins to disable block editor support, -
activitypub_use_authorized_fetchFilters whether to use Authorized-Fetch. -
activitypub_user_can_activitypubAllow plugins to enable/disable users for ActivityPub. -
post_activitypub_add_to_outboxAction triggered after an object has been added to the outbox. -
pre_activitypub_get_upload_baseurlEarly filter to allow plugins to set the upload base URL. -
pre_get_remote_metadata_by_actorFilters the metadata before it is retrieved from a remote actor.
-
activitypub_new_dm_emailFires at the bottom of the new direct message emails.
-
activitypub_new_follower_emailFires at the bottom of the new follower email.
-
activitypub_new_mention_emailFires at the bottom of the new mention emails.
Follow @[email protected] for updates and news.