I try to make a form with shortcode.
Main plugin file:
I place shortcode into the middle of website:
But after submitting I get
<!DOCTYPE html><html> instead of
What’s wrong? After a long googling I found something about buffers, so tried to add
ob_get_clean(); but no effect. 🙁