Home > OS >  Contact Form 7 in vs code
Contact Form 7 in vs code

Time:05-11

I have a contact form

[contact-form-7 id="2722" title="Contact form 1"]

I want to write it down to vs code but I don't know how to do it!

CodePudding user response:

You can use this code in php file with do_shortcode function. https://developer.wordpress.org/reference/functions/do_shortcode/

echo do_shortcode('[contact-form-7 id="2722" title="Contact form 1"]');
  • Related