Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
hjanuschka committed Aug 29, 2019
1 parent a4cdced commit e630071
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e630071

Please sign in to comment.