This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How can I Overwrite Default Hook?
#7
RE: How can I Overwrite Default Hook?
I understand that and I agree that it would be ideal to add a mod on any line, however that is simply not needed and having something working in a simple way is better than not having it at all.

Although I understand themes are different, the concept the same (also filters are not necessarily used in themes but also in plugins.

Regarding future updates breaking the code... Well that's a issue I can live with and I'm sure everyone who codes addons/plugins/modules will agree with me that it is simply not possible to have the code 100% upgrade safe when you are changing how core things wok.

The main use case for this would be to allow for very specific use cases where the user might need to tweak things for his/her particular use case.

Also, as long as the Sentora changelog provides information about what filters/hooks were changed it shall be rather simple to keep things flowing.

Just my opinion and its all theory I admit that in practice it might not be this easy, but we need to start from some place.
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:


Messages In This Thread
How can I Overwrite Default Hook? - by apinto - 05-09-2015, 07:33 PM
RE: How can I Overwrite Default Hook? - by Me.B - 05-09-2015, 07:40 PM
RE: How can I Overwrite Default Hook? - by apinto - 05-09-2015, 08:33 PM
RE: How can I Overwrite Default Hook? - by Me.B - 05-09-2015, 09:07 PM
RE: How can I Overwrite Default Hook? - by apinto - 05-09-2015, 09:24 PM
RE: How can I Overwrite Default Hook? - by Me.B - 05-09-2015, 10:24 PM
RE: How can I Overwrite Default Hook? - by apinto - 05-09-2015, 11:03 PM
RE: How can I Overwrite Default Hook? - by Me.B - 05-10-2015, 02:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Default login page redirect. blakethepatton 3 10 ,645 01-31-2016, 09:47 AM
Last Post: blakethepatton

Forum Jump:


Users browsing this thread: 1 Guest(s)