Quform에서 작성하면 kboard로 게시물을 작성하게 하고싶은대….
function my_create_wp_post($form) { $title = $form->getValue(‘iphorm_3_1’); $content = $form->getValue(‘iphorm_3_2’); $post = array( ‘post_title’ => $title, ‘post_content’ => $content ); $postId = wp_insert_post($post); wp_set_object_terms($postId, ‘my_category_slug’, ‘category’);} add_action(‘iphorm_post_process_3’, ‘my_create_wp_post’, 10, 1);
이걸 운용하면 댈거같은대 ㅠㅠ 방법을 도통 모르겠내요..ㅠㅠ도움좀 주세요..