php - how can i add one column in table wp_post in wordpress and add data into column? -
i want add field resume_code table posts in wordpress , add data field. have add field call 'resume_code' already. cannot add data field. please me solve.
edit:
$post_information = array( 'id' => $current_post, 'post_title' => $_post['fullname'], 'post_content' => strip_tags($_post['postcontent']), 'post_type' => 'resume', 'comment_status' => 'open', 'ping_status' => 'open', 'post_status' => 'publish' 'resume_code' => $_get['resume'] ); $post_id = wp_insert_post($post_information);
Comments
Post a Comment