The function wp_localize_script( $handle, $name, $data ); does not work when trying to overwrite the same variable, that is when calling the function second time with the same $handle and $name but with other $data value.

How can this problem be solved?

0

Leave a Reply

Your email address will not be published. Required fields are marked *