You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions[bot] edited this page Jun 10, 2026
·
13 revisions
Filter the value before it is set to the Activity-Object $activity_object.
Auto-generated Example
/** * Filter the value before it is set to the Activity-Object `$activity_object`. * * @param mixed $value * @param string $var * @param mixed $item * @return mixed The filtered value. */functionmy_activitypub_transform_set_callback( mixed$value, string$var, mixed$item ) {
// Your code here.return$value;
}
add_filter( 'activitypub_transform_set', 'my_activitypub_transform_set_callback', 10, 3 );