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