We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Filters the activity types included in the outbox collection.
/** * Filters the activity types included in the outbox collection. * * @param Activitypub\string[] $activity_types * @return Activitypub\string[] The filtered value. */ function my_activitypub_outbox_activity_types_callback( Activitypub\string[] $activity_types ) { // Your code here. return $activity_types; } add_filter( 'activitypub_outbox_activity_types', 'my_activitypub_outbox_activity_types_callback' );
Activitypub\string[]
$activity_types
\apply_filters( 'activitypub_outbox_activity_types', self::PUBLIC_ACTIVITY_TYPES )
← All Hooks