Skip to content

activitypub_transform_set

github-actions[bot] edited this page Jul 29, 2025 · 10 revisions

Filter the value before it is set to the Activity-Object $activity_object.

Auto-generated Example

add_filter(
    'activitypub_transform_set',
    function (
        Activitypub\mixed $value,
        string $var,
        Activitypub\mixed $item
    ) {
        // Your code here
        return $value;
    },
    10,
    3
);

Parameters

  • Activitypub\mixed $value The value that should be set.
  • string $var The variable name.
  • Activitypub\mixed $item The Object.

Files

\apply_filters( 'activitypub_transform_set', $value, $var, $this->item )

Hooks

Users

Developers

Clone this wiki locally