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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user