Skip to content

activitypub_enable_primary_domain_moves

github-actions[bot] edited this page Jul 29, 2025 · 8 revisions

Filter to enable automatically moving Fediverse accounts when the domain changes.

Auto-generated Example

add_filter(
   'activitypub_enable_primary_domain_moves',
    'my_activitypub_enable_primary_domain_moves_callback'
);

function my_activitypub_enable_primary_domain_moves_callback( bool $domain_moves_enabled ) {
    // Your code here.
    return $domain_moves_enabled;
}

Parameters

  • bool $domain_moves_enabled Whether domain moves are enabled.

Files

apply_filters( 'activitypub_enable_primary_domain_moves', false )

← All Hooks

Users

Developers

Clone this wiki locally