-
Notifications
You must be signed in to change notification settings - Fork 80
activitypub_defer_signature_verification
github-actions[bot] edited this page Aug 18, 2025
·
8 revisions
Filter to defer signature verification.
Skip signature verification for debugging purposes or to reduce load for certain Activity-Types, like "Delete".
/**
* Filter to defer signature verification.
*
* Skip signature verification for debugging purposes or to reduce load for
* certain Activity-Types, like "Delete".
*
* @param bool $defer
* @param WP_REST_Request $request
* @return bool Whether to defer signature verification.
*/
function my_activitypub_defer_signature_verification_callback( bool $defer, WP_REST_Request $request ) {
// Your code here.
return $defer;
}
add_filter( 'activitypub_defer_signature_verification', 'my_activitypub_defer_signature_verification_callback', 10, 2 );
-
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.