-
Notifications
You must be signed in to change notification settings - Fork 84
activitypub_activity_object_types
github-actions[bot] edited this page Oct 21, 2025
·
24 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$typesThe activity object types.
\apply_filters( 'activitypub_activity_object_types', Base_Object::TYPES )Follow @[email protected] for updates and news.