We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4c56bb commit bd37a90Copy full SHA for bd37a90
1 file changed
themes/osi/functions.php
@@ -446,7 +446,7 @@ function save_form_data_to_cpt($contact_form) {
446
$post_id = wp_insert_post(array(
447
'post_title' => $data['your-name'],
448
'post_type' => 'supporter',
449
- 'post_status' => 'draft'
+ 'post_status' => 'pending'
450
));
451
update_field('name', $data['your-name'], $post_id);
452
update_field('organization', $data['your-org'], $post_id);
0 commit comments