-
Notifications
You must be signed in to change notification settings - Fork 80
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.
/**
* 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' );
-
bool
$domain_moves_enabled
Whether domain moves are enabled.
apply_filters( 'activitypub_enable_primary_domain_moves', false )
Follow @[email protected] for updates and news.