glFusion / glfusion

glFusion CMS - Advanced Content Management with Style
https://www.glfusion.org
GNU General Public License v2.0
3 stars 0 forks source link

Pass content to PLG_itemPreSave() by address #389

Closed leegarner closed 4 years ago

leegarner commented 4 years ago

Allow plugins to modify content that is sent to PLG_itemPreSave(). The only return from pluginitempresave* functions is an error message, this would allow for additional text filtering. May help solve https://www.glfusion.org/forum/viewtopic.php?showtopic=46814&topic=46818#46818.

Plugins that wish to modify the content would use &$content as a parameter, no change is needed for those that don't.