apply_filters( 'relevanssi_update_translations', boolean $update_translations )
This filter hook controls whether Relevanssi Premium tries to get translations from the TranslationsPress service or not.
Parameters
$update_translations
(boolean) If false
, Relevanssi doesn’t try to connect to the TranslationsPress server for new translations. Default true
.
More information
If your site is only in English or in some other untranslated language, you can disable all connections to the TranslationsPress servers. Add this to your site:
add_filter( 'relevanssi_update_translations', '__return_false' );
This may speed up your WordPress admin somewhat and save bandwidth, as no calls are made to the server anymore.