json_encode() returns contact form not found error
-
$ctest = '<!-- wp:shortcode -->[contact-form-7 id="648b54b" title="Contact form 1"]<!-- /wp:shortcode -->'; echo json_encode($ctest);
When I pass contents of post in json_encode function, contact form 7 returns “Error:?Contact form not found.” Any idea why could this be happening? Is it parsing issue?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘json_encode() returns contact form not found error’ is closed to new replies.