Timeline for Set posts of a custom post type to be private by default?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 27, 2019 at 10:59 | comment | added | TomC | This worked for me. Thanks | |
Aug 21, 2018 at 11:13 | comment | added | Jonathan Pasquier | You are totally right! Some times after posting this answer I saw the problem and corrected my code, but I forgot to update my answer. Now it is done! Thanks! | |
Aug 21, 2018 at 11:12 | history | edited | Jonathan Pasquier | CC BY-SA 4.0 |
updated the answer to take cgogolin comment into account
|
Aug 21, 2018 at 9:37 | comment | added | cgogolin |
That's a very nice idea, but one should be aware that it makes newly created posts directly loos their "draft" status and makes them "privately published", instead of making them "drafts" with the "private" option pre-selected. This for example directly gives them a slug (namely the slug auto-draft ), which can be inconvenient.
|
|
Aug 31, 2017 at 14:27 | history | answered | Jonathan Pasquier | CC BY-SA 3.0 |