This works, but generally it’s not a good idea to edit plugin code directly because the plugin may be updated later and your changes would be lost.
There is a better way to accomplish the same thing using a filter that we added to the plugin:
This works, but generally it’s not a good idea to edit plugin code directly because the plugin may be updated later and your changes would be lost.
There is a better way to accomplish the same thing using a filter that we added to the plugin: