New Blog Templates, leave author of woocommerce product as template site author, or super_admin

Hi

I'd like the newly created site to keep the original author of a woocommerce product, or set the author to the super admin.

I've seen the following code that is suppose to work for an attachement, and I attempted to modify it to suit my needs below, but no dice.

add_filter( 'blog_templates-process_row', 'my_custom_set_attachments_author', 10, 1 );
function my_custom_set_attachments_author( $row ) {
	if ( isset( $row['post_type'] ) && $row['post_type'] == 'attachment' ) {
		$row['post_author'] = 1;
	}
	return $row;
}
add_filter( 'blog_templates-process_row', 'my_custom_set_author', 10, 1 );
function my_custom_set_author( $row ) {
	if ( isset( $row['post_type'] ) && $row['post_type'] == 'product' ) {
		$row['post_author'] = 1;
	}
	return $row;
}