created routes, but json parse error ate the end of transaction

This commit is contained in:
asus
2024-02-24 01:19:39 +01:00
parent 38260912cd
commit 745f5ebf91
15 changed files with 327 additions and 158 deletions

View File

@@ -1,5 +1,14 @@
<?php
/**
* it means someone outside wp is accessing the file, in this case kill it.
*/
if (!defined('ABSPATH')) {
die('You can not access this file!');
}
function prevent_page_caching( $headers ) {
error_log("in prevent_page_caching");
if (is_page('test-form-modals')) {