Skip to content

activitypub_handled_feature_request

github-actions[bot] edited this page Jun 15, 2026 · 2 revisions

Fires after an ActivityPub FeatureRequest activity has been handled.

Auto-generated Example

/**
 * Fires after an ActivityPub FeatureRequest activity has been handled.
 *
 * @param array             $activity 
 * @param Activitypub\int[] $user_ids 
 * @param bool              $state 
 * @param string            $policy 
 */
function my_activitypub_handled_feature_request_callback( array $activity, Activitypub\int[] $user_ids, bool $state, string $policy ) {
    // Your code here.
}
add_action( 'activitypub_handled_feature_request', 'my_activitypub_handled_feature_request_callback', 10, 4 );

Parameters

  • array $activity The ActivityPub activity data.
  • Activitypub\int[] $user_ids The local user IDs.
  • bool $state True on accept, false otherwise.
  • string $policy The active site policy.

Files

\do_action( 'activitypub_handled_feature_request', $activity, (array) $user_ids, $state, $policy )

← All Hooks

Users

Developers

Clone this wiki locally