You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions[bot] edited this page Jul 10, 2026
·
22 revisions
Fires when the system has to be migrated.
Auto-generated Example
/** * Fires when the system has to be migrated. * * @param string $version_from_db * @param string $target_version */functionmy_activitypub_migrate_callback( string$version_from_db, string$target_version ) {
// Your code here.
}
add_action( 'activitypub_migrate', 'my_activitypub_migrate_callback', 10, 2 );
Parameters
string$version_from_db The version from which to migrate.
string$target_version The target version to migrate to.