summaryrefslogtreecommitdiff
path: root/api/head.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/head.php')
-rw-r--r--api/head.php12
1 files changed, 12 insertions, 0 deletions
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 @@
+<?php
+
+function fk_wp_head() {
+ ob_start();
+ wp_head();
+ $content = ob_get_contents();
+ $content = array("head" => $content);
+ ob_end_clean();
+
+ return $content;
+}
+