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