Extend current hooks to display the “0% interests” banner
-
When using this plugin we found the need to customise the place where the “0% interests” banner is getting output. Currently the hooks are not customisable and cannot be removed as they’re implemented in a closure. I have two questions:
- Can you add one or more filter hooks to the method hookForCurrentPage()? Ideally a filter hook for each condition and another one for all of them.
- Can you move the anonymous Closures in placeBannerOnPage() into public static functions on the class, so that the named callbacks can be unregistered if necessary?
Thanks for your support!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Extend current hooks to display the “0% interests” banner’ is closed to new replies.