Problem:
When deleting a user in the backend, how is it possible to make sure that any custom posts they have authored are deleted?
Solution:
WordPress offers you the choice when deleting a user to delete their content or re-assign it.
But it will only consider content as belonging to the user if the custom post type is registered with the 'supports' option set to include author.
When registering a post type with Types at Toolset > Post Types you must specify "author" under the "Sections to display..." section.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
Ce sujet contient 2 réponses, a 2 voix.
Dernière mise à jour par Il y a 6 années et 10 mois.
Assisté par: Nigel.