-
Notifications
You must be signed in to change notification settings - Fork 82
activitypub_activity_types
github-actions[bot] edited this page Sep 18, 2025
·
16 revisions
Filters the activity types.
/**
* Filters the activity types.
*
* @param array $types
* @return array The filtered value.
*/
function my_activitypub_activity_types_callback( array $types ) {
// Your code here.
return $types;
}
add_filter( 'activitypub_activity_types', 'my_activitypub_activity_types_callback' );
-
array
$types
The activity types.
apply_filters( 'activitypub_activity_types', Activity::TYPES )
Follow @[email protected] for updates and news.