Tag Info

New answers tagged

0

The reason why your code created drafts only is status='pending' make it publish Like // Prepare to save! do_action( 'wpo_frontend_before_save_order', $order_details, $user_details ); $post = array( 'post_title' => $order_details['title'], 'post_author' => get_current_user_id(), 'post_type' ...



Top 50 recent answers are included