-
Notifications
You must be signed in to change notification settings - Fork 82
activitypub_defer_signature_verification
github-actions[bot] edited this page Jul 29, 2025
·
8 revisions
Filter to defer signature verification.
Skip signature verification for debugging purposes or to reduce load for certain Activity-Types, like "Delete".
add_filter(
'activitypub_defer_signature_verification',
'my_activitypub_defer_signature_verification_callback',
10,
2
);
function my_activitypub_defer_signature_verification_callback(
bool $defer,
WP_REST_Request $request
) {
// Your code here.
return $defer;
}
-
bool
$defer
Whether to defer signature verification. -
WP_REST_Request
$request
The request used to generate the response.
bool
Whether to defer signature verification.
\apply_filters( 'activitypub_defer_signature_verification', false, $request )
Follow @[email protected] for updates and news.