-
Notifications
You must be signed in to change notification settings - Fork 83
activitypub_validate_object
github-actions[bot] edited this page Jul 23, 2025
·
25 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$validateThe validation result. -
array$paramThe object data. -
Activitypub\object$requestThe request object. -
string$keyThe 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.