I’m passing an array of tags into the $post[‘tags_input’] field, and then passing that into wp_insert_post($post). I’ve also tried just using an imploded string (surrounded by single quotes, double quotes, or nothing).
No matter how I pass in the values for the tags, the first tag starts with a double quote, and the last tag ends with a double quote. I’ve gone through all the functions used, var_dumped them all, and can’t find where these extra quotation marks are being added.
The topic ‘wp_insert_post adding quotation marks to tags’ is closed to new replies.