Skip to content

Commit bd37a90

Browse files
author
Ariel Jolo
committed
Changing status for Pending Review
1 parent f4c56bb commit bd37a90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/osi/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ function save_form_data_to_cpt($contact_form) {
446446
$post_id = wp_insert_post(array(
447447
'post_title' => $data['your-name'],
448448
'post_type' => 'supporter',
449-
'post_status' => 'draft'
449+
'post_status' => 'pending'
450450
));
451451
update_field('name', $data['your-name'], $post_id);
452452
update_field('organization', $data['your-org'], $post_id);

0 commit comments

Comments
 (0)