Skip to content

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.

Auto-generated Example

/**
 * 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' );

Parameters

  • bool $allowed Whether dynamic registration is allowed. Default true.

Files

\apply_filters( 'activitypub_allow_dynamic_client_registration', true )

← All Hooks

Users

Developers

Clone this wiki locally