-
Notifications
You must be signed in to change notification settings - Fork 82
activitypub_validate_object
github-actions[bot] edited this page Jul 23, 2025
·
10 revisions
Filter the ActivityPub object validation.
add_filter(
'activitypub_validate_object',
function (
bool $validate,
array $param,
Activitypub\object $request,
string $key
) {
// Your code here
return $validate;
},
10,
4
);
-
bool
$validate
The validation result. -
array
$param
The object data. -
Activitypub\object
$request
The request object. -
string
$key
The key.
\apply_filters( 'activitypub_validate_object', true, $param, $request, $key )
\apply_filters( 'activitypub_validate_object', true, $param, $request, $key )
Follow @[email protected] for updates and news.