How to show custom text when user is deleted?
-
So when you delete a user (not the content) the name defaults to "Guest". How would I change this to something else? My forum is (by plugin) locked, so there are no such thing as guests.
I would like to replace it with something like "Previous user" instead and on a global scope. I need it to show the same in chats, posts and everything else connected.
I could of course use a list of hooks and write custom functions to change the name to a custom language file string, but it would be more convenient to catch it once.
Any ideas?
-
@magnusvhendin You could use the Customize plugin for this. It's capable of replacing text, so you could change "Guest" to "Previous User" that way ?
-
@phenomlab Thanks! I did not know this was available. I'll have a look to see if it fits my needs.
-
@magnusvhendin No problems. For clarity, once you have the plugin installed, you want this section