-
Notifications
You must be signed in to change notification settings - Fork 81
activitypub_validate_object
github-actions[bot] edited this page Aug 7, 2025
·
5 revisions
Filter the ActivityPub object validation.
add_filter(
'activitypub_validate_object',
function(
bool $validate,
array $param,
object $request,
string $key
) {
// Your code here.
return $validate;
},
10,
4
);
-
bool
$validate
The validation result. -
array
$param
The object data. -
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 @activitypub.blog@activitypub.blog for updates and news.