• I recently tried to install Klaviyo into a site with a custom theme and a global function in the theme, get_products(), clashed with the same from the plugin. I renamed the theme function to get round the issue but looking at the code in the Klaviyo plugin I was just wondering why the function hadn’t been prefixed with “kl_” as with other functions in the same file? (class-wck-api.php)

Viewing 1 replies (of 1 total)
  • Plugin Support brianklaviyo

    (@brianklaviyo)

    Hi Preeve – Thank you for writing in. Would you be able to share with me the plugin version you’re using? I believe this function should have a nameface prefix in our latest version 3.6.0.

Viewing 1 replies (of 1 total)

The topic ‘global function get_products() clashing with theme’ is closed to new replies.