Skip to content

activitypub_enable_primary_domain_moves

github-actions[bot] edited this page Aug 18, 2025 · 8 revisions

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

Auto-generated Example

/**
 * Filter to enable automatically moving Fediverse accounts when the domain changes.
 *
 * @param bool $domain_moves_enabled 
 * @return bool The filtered value.
 */
function my_activitypub_enable_primary_domain_moves_callback( bool $domain_moves_enabled ) {
    // Your code here.
    return $domain_moves_enabled;
}
add_filter( 'activitypub_enable_primary_domain_moves', 'my_activitypub_enable_primary_domain_moves_callback' );

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