summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 5e1fef8..7eebc3f 100644
--- a/functions.php
+++ b/functions.php
@@ -117,6 +117,8 @@ add_filter('posts_where', 'Delay_RSS_After_Publish');
/**
* Deaktiviert REST-API und entfernt die Header aus dem HTML.
+ *
+ * It seems it doesn't work though.
*/
add_filter('rest_enabled', '_return_false');
add_filter('rest_jsonp_enabled', '_return_false');
@@ -250,3 +252,6 @@ if ( ! function_exists("get_my_clean_title")) {
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'wp_print_styles', 'print_emoji_styles' );
*/
+
+require_once get_template_directory() . '/api/api.php';
+