How to allow code like PHP, SQL, HTML to WPBakery Visual Composer?
I want to allow code inside a textarea to write code with PHP, SQL or HTML...
What i want to do is create an element inside the Visual Composer where I can put some code to show it as i write it on my posts.
Here you can find the type values:
https://kb.wpbakery.com/docs/inner-api/vc_map/
But no one of these works for me.
There is a proper way to do that?
array(
"type" = "textarea_html",
"heading" = esc_html__("Text", "js_composer"),
"param_name" = "text_code_snippet",
"admin_label" = true,
"description" = esc_html__("The text for your button." , "js_composer")
)
Thanks
Topic visual-editor plugins Wordpress
Category Web