-
Notifications
You must be signed in to change notification settings - Fork 85
activitypub_allow_dynamic_client_registration
github-actions[bot] edited this page Mar 12, 2026
·
1 revision
Filters whether RFC 7591 dynamic client registration is allowed.
Enabled by default so C2S clients can register on the fly. Return false to restrict registration to pre-configured clients only.
/**
* Filters whether RFC 7591 dynamic client registration is allowed.
*
* Enabled by default so C2S clients can register on the fly.
* Return false to restrict registration to pre-configured clients only.
*
* @param bool $allowed
* @return bool The filtered value.
*/
function my_activitypub_allow_dynamic_client_registration_callback( bool $allowed ) {
// Your code here.
return $allowed;
}
add_filter( 'activitypub_allow_dynamic_client_registration', 'my_activitypub_allow_dynamic_client_registration_callback' );
-
bool$allowedWhether dynamic registration is allowed. Default true.
\apply_filters( 'activitypub_allow_dynamic_client_registration', true )
Follow @activitypub.blog@activitypub.blog for updates and news.