now using wp_localize instead of wp_add_inline

This commit is contained in:
asus
2024-02-09 17:53:12 +01:00
parent 35e851cf11
commit 011f0b9c3f
7 changed files with 43 additions and 27 deletions

View File

@@ -1,4 +1,3 @@
const title2 = document.querySelector(".second_el_to_change");
title2.innerHTML = "--- ho boy !";