Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Inlens Posted April 6, 2018 Posted April 6, 2018 Hello, I want to add some strings to one of method in /applications/cms/sources/Categories/Categories.php How can I do it with code hooks? thanks
Martin A. Posted April 7, 2018 Posted April 7, 2018 You cannot inject string in the middle of method. All you can do with code hooks is do processing before or after the parent method runs, and add new methods. You say you want to "add some strings", maybe you're better off doing that in a template hook?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.