Skip to content

activitypub_migrate

github-actions[bot] edited this page Aug 7, 2025 · 5 revisions

Fires when the system has to be migrated.

Auto-generated Example

add_filter(
   'activitypub_migrate',
    function(
        string $version_from_db,
        string $target_version
    ) {
        // Your code here.
        return $version_from_db;
    },
    10,
    2
);

Parameters

  • string $version_from_db The version from which to migrate.
  • string $target_version The target version to migrate to.

Files

\do_action( 'activitypub_migrate', $version_from_db, ACTIVITYPUB_PLUGIN_VERSION )

← All Hooks

Users

Developers

Clone this wiki locally