Skip to content

Commit

Permalink
Changing status for Pending Review
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariel Jolo committed Jan 10, 2025
1 parent f4c56bb commit bd37a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/osi/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ function save_form_data_to_cpt($contact_form) {
$post_id = wp_insert_post(array(
'post_title' => $data['your-name'],
'post_type' => 'supporter',
'post_status' => 'draft'
'post_status' => 'pending'
));
update_field('name', $data['your-name'], $post_id);
update_field('organization', $data['your-org'], $post_id);
Expand Down

0 comments on commit bd37a90

Please sign in to comment.