-
Notifications
You must be signed in to change notification settings - Fork 81
activitypub_transform_set
github-actions[bot] edited this page Aug 7, 2025
·
7 revisions
Filter the value before it is set to the Activity-Object $activity_object
.
add_filter(
'activitypub_transform_set',
function(
Activitypub\mixed $value,
string $var,
Activitypub\mixed $item
) {
// Your code here.
return $value;
},
10,
3
);
-
Activitypub\mixed
$value
The value that should be set. -
string
$var
The variable name. -
Activitypub\mixed
$item
The Object.
\apply_filters( 'activitypub_transform_set', $value, $var, $this->item )
Follow @activitypub.blog@activitypub.blog for updates and news.