There was an error while loading. Please reload this page.
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
\apply_filters( 'activitypub_activity_types', Activity::TYPES )
← All Hooks