Skip to main content
2 of 3
added 52 characters in body
kanlukasz
  • 534
  • 8
  • 24

I have no words 🤦‍♂️

A simple change

  • dirname(plugin_basename(__FILE__)) . '/languages/' inside wp_set_script_translations() function (3rd argument)

to

  • plugin_dir_path(__FILE__) . 'languages/'

fixed the problem

kanlukasz
  • 534
  • 8
  • 24