When a form creates a post type, how can we get the entry id of the post using a function?
I got the answer from formidable documentation, it is
$entry_id = FrmDb::get_var( 'frm_items', array( 'post_id' => $post_id_here ), 'id' );
Please login or Register to submit your answer