Inlens Posted April 6, 2018 Share 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 Link to comment Share on other sites More sharing options...
Martin A. Posted April 7, 2018 Share 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? Link to comment Share on other sites More sharing options...
Inlens Posted April 9, 2018 Author Share Posted April 9, 2018 Clear... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.