- 
                Notifications
    
You must be signed in to change notification settings  - Fork 83
 
activitypub_transform_set
        github-actions[bot] edited this page Jul 23, 2025 
        ·
        10 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$valueThe value that should be set. - 
string$varThe variable name. - 
Activitypub\mixed$itemThe Object. 
\apply_filters( 'activitypub_transform_set', $value, $var, $this->item )Follow @[email protected] for updates and news.