From e63007103906c0dc9968df5c858e3dc0429ed5f8 Mon Sep 17 00:00:00 2001 From: Helmut Januschka Date: Thu, 29 Aug 2019 10:35:59 +0200 Subject: [PATCH] up --- src/Core.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Core.php b/src/Core.php index 1256a14..007b28b 100644 --- a/src/Core.php +++ b/src/Core.php @@ -35,6 +35,8 @@ public function ep_bulk_index_posts_request_args($args, $body) public function add_actions() { + remove_action('init', 'wp_widgets_init', 1); + //Disable ACF fields that are from DB - improves performance a lot add_filter('posts_pre_query', [$this, 'acf_posts_pre_query'], 15, 2);