But the new method seems not working for me. Update job didn’t run at all.
Yes, thanks – it works.
BTW, My plugin page didn’t show that there are any updates for the current version of the plugin. I had to take it from the download section of your site.
Got it. The problem was in pre_get_posts search filter. It filters only the posts of type ‘posts’ not wpcf7 forms.
After some source code investigation the problem seems to be isolated in CF7 classes.php in public static function find.
The problem is that with ‘s’ (searchquery) argument after executing WP_Query
$q = new WP_Query();
$posts = $q->query( $args );
$posts holds of an array of WP posts but non WPCF7 forms.
Wisthout ‘s’ searchquery $posts holds an array of WPCF7 forms.