changed add_var_to_front back to using add_inline instead as localize, because need to not overwrite the variables

This commit is contained in:
asus
2024-02-11 17:07:27 +01:00
parent de6fd7a8a7
commit 87a0f7fc0b
9 changed files with 58 additions and 21 deletions

View File

@@ -70,6 +70,10 @@ function main_shortcode() {
)
);
global $wp_scripts;
console_log("wp_scripts: ");
console_log($wp_scripts);
return $html_front;
}
add_shortcode('wp_model_plugin', 'main_shortcode');