-
Notifications
You must be signed in to change notification settings - Fork 85
activitypub_collection_types
github-actions[bot] edited this page Oct 21, 2025
·
1 revision
Filters the collection types.
/**
* Filters the collection types.
*
* @param array $types
* @return array The filtered value.
*/
function my_activitypub_collection_types_callback( array $types ) {
// Your code here.
return $types;
}
add_filter( 'activitypub_collection_types', 'my_activitypub_collection_types_callback' );
-
array
$types
The collection types.
apply_filters( 'activitypub_collection_types', array( 'Collection', 'OrderedCollection', 'CollectionPage', 'OrderedCollectionPage' ) )
Follow @[email protected] for updates and news.