How to overwrite helper functions

Hi, i want to overwrite a helper function WriteCommentForm
in particular. Where is best to put this? I already have a custom class.mythemehooks.php
but sticking it at the end of that doesn't seem appropriate.
Version is 2.1.9 btw
Thanks
0
Best Answer
-
hgtonight MVP
You could override it in your bootstrap file. Place your function definition in your
/conf/bootstrap.before.php
file.Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
6
Answers
You could override it in your bootstrap file. Place your function definition in your
/conf/bootstrap.before.php
file.Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
perfect thanks