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