improve performance when plugin use WP_Query