Redirect to a Plugin Settings Page After Multisite Site Creation?

The following code does the redirect. In this example, the redirection is to a BackupBuddy’s page.

add_filter('admin_head-site-new.php','wpse_35760_redirect_after_site_creation');

function wpse_35760_redirect_after_site_creation()
{
    if( !isset($_GET['update']) || 'added' != $_GET['update'] )
        return;

    switch_to_blog($_GET['id']);
    wp_redirect( admin_url( 'admin.php?page=pb_backupbuddy_multisite_export' ) ); 
    exit;
}

For reference: Related Answer that uses an Action Hook fired on blog creation.
But, for the case in this Question -redirect after creation-, I think the approach used here may be better.

Leave a Comment