Difference between Callback and Template_Helper?

Callbacks basically can't be replaced/overrriden wholesale while template helpers can be.

As such, when you disable a template helper's addon the template helper itself is disabled. The callback just ignores addon enable/disable state, and loads the class and executes the method.

Callbacks have some flexibility which allows them todo more than template helpers, but at a complexity cost.
 
Back
Top Bottom