I would like to simply rename “Delete permanently” to “Delete”, without having to mess with the WordPress core files.
It’s worth knowing that I’m using a translated version of WordPress. So the “Delete permanently” action is already translated but the translated string is too long to fit my needs.
How can I do that from functions.php?
Any help would be appreciated.
Put this in your
functions.php
file: