Hello, I am trying to modify tdomf-form.php
On lines 872 you find this:
$post = array (
"post_content" => "",
# "post_excerpt" => "",
"post_title" => $def_title,
"post_category" => $post_cats,
"post_author" => $user_id,
"post_status" => 'draft',
# "post_name" => "",
# "post_date" => $post_date,
# "post_date_gmt" => $post_date_gmt,
# "comment_status" => get_option('default_comment_status'),
# "ping_status" => get_option('default_ping_status').
);
I want to add "post_password" => $password, to that array.
My question is, how do I get $password to be = to the custom field "password" that ive set thru a widget in the form??
Thanks!