From cf48c3ba4aba8833d67fa13e25610a34d0a34aa5 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 10 Feb 2019 01:32:47 +0100 Subject: New api method to get wp_head() as JSON. --- api/head.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 api/head.php (limited to 'api/head.php') diff --git a/api/head.php b/api/head.php new file mode 100644 index 0000000..1dc6cb4 --- /dev/null +++ b/api/head.php @@ -0,0 +1,12 @@ + $content); + ob_end_clean(); + + return $content; +} + -- cgit v1.2.3