Timeline for Set post comments open function
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 24, 2019 at 8:44 | comment | added | Michael | I had to set comment_status to a string 'open' or 'closed' for this to work as expected. See developer.wordpress.org/reference/functions/wp_insert_post | |
Jul 22, 2012 at 23:57 | vote | accept | Bram | ||
Jul 19, 2012 at 20:52 | history | edited | Pontus Abrahamsson | CC BY-SA 3.0 |
added 514 characters in body
|
Jul 19, 2012 at 20:43 | comment | added | Bram | yep but I'm looking for a php way because I'm importing products thru an addapted datafeed script. So in php while importing i have to set comment_status, when the script imports feeds its on closed so have to find way in php to set it open. The allow people to post comments on new articles, is on just checked. | |
Jul 19, 2012 at 20:04 | history | answered | Pontus Abrahamsson | CC BY-SA 3.0 |