New Blog Template function

If I try add this code in my theme functions.php, this will start New Blog template and copy the template to a new subsite?

include_once( WP_CONTENT_DIR . '/plugins/blogtemplates/nbt-api.php' );
nbt_load_api();

add_action( 'wpmu_new_blog', 'my_test_function', 99, 2 );
function my_test_function( $new_blog_id, $new_user_id ) {
$args = array(
'to_copy' => array(
'posts'	=> true,
'pages'	=> true,
'menus'	=> true,
),
'update_dates' => true
);
nbt_api_copy_contents_to_new_blog( 27, $new_blog_id, $new_user_id, $args );
}