Plugin Author
taisho
(@taisho)
Hello,
this can be implemented in the release in 1-2 weeks (one release is tomorrow / Monday). You’ve mentioned both a hook and a filter, which one do you really need? If hook, here would you need it placed? If a filter, what variables would you like to replace with custom ones?
Best regards,
Ryszard
-
This reply was modified 6 years, 6 months ago by
taisho.
Thread Starter
tom3r
(@tom3r)
Hi Taisho!
Thanks for your answer.
I modified the plugin with the below code and I’ve added the action ‘custom_qib_enqueue_script’ to my functions.php where the ‘wc_enqueue_js(… ‘ is modified as I needed.
function qib_enqueue_script() {
// Custom Code
if (has_action(‘custom_qib_enqueue_script’)) {
do_action(‘custom_qib_enqueue_script’);
return;
}
wc_enqueue_js( ‘ ……..
I hope this answers your question, but please let me know if further clarification is needed.
Thanks a lot and looking forward for this update!
Thread Starter
tom3r
(@tom3r)
Hello Taisho!
I am just checking in with you, about the hook we talked earlier. Is there any news about this update or the way it will be implemented?
Thanks,
Tamas
Plugin Author
taisho
(@taisho)
Hello, I plan to release the patch this weekend, together with the final fix for translate.wordpress problems. I want to add a few hooks.
Plugin Author
taisho
(@taisho)
Yesterday I almost finished the release but in the end I decided that I will use no hooks and only filters to remove, modify or add jQuery.
I will make the update today.
Thread Starter
tom3r
(@tom3r)
Hello Taisho,
Thank you for your answer. From my part I think that’s okay as well, since the purpose is to be able to modify the jQeury. Thank you for implementing this.
When do you think this update would come out?
Thanks!
Plugin Author
taisho
(@taisho)
I’ve released the update, sorry for the wait! I’ll add a filter or filters for jQuery related to archives next time.
-
This reply was modified 6 years, 5 months ago by
taisho.