demo

Create a new post with Custom Title

Generate a new post and set Title dynamically with "Type#ID"

Actions After Submit

Configure those “Actions After Submit” in this precise order*

* to Reorder actions need to install “e-addons PRO Form Conditions”

Custom PHP Script

				
					global $wpdb;
$post_id = $wpdb->get_var( 'SELECT ID FROM ' . $wpdb->prefix . 'posts' . ' ORDER BY ID DESC LIMIT 1');
$post = get_post($post_id);
$post_data = array(
  'ID'         => $post_id,
  'post_title' => $post->post_type.'#'.$post_id,
);
wp_update_post($post_data);
				
			

#3489