Use Gravity Forms and a Shopping Cart for output to Freshbooks for an Estimate [closed]

Why use gravity post if you just want to do post add/insert + post_meta (assume on front-end), we can do it as long as we give a registered user certain capabilities. We can achieved this by creating custom role for user to add to specific custom post type, . For email notification you can use native wp_mail on wp_insert_post function (logged_in)

    $orderpost = array(
    'post_title'    => $title,
    'post_status'   => 'publish',           // Choose: publish, preview, future, etc.
    'post_type'     => 'item-order' , // Use a custom post type if you want to
);
$the_inserted = wp_insert_post($orderpost);  // Pass  the value of $post to WordPress the insert function

after post succeed ($the_inserted = id of ‘item-order’) we can create function such as add_post_meta, update_post_meta, wp_mail or wp_redirect

Cheers 🙂

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)