Preserver manually added string into template

Hello

We have many strings who are fetched dynamically (i.e. ACF).
Using a filter we can grab this strings before they are rendered and then using __() we return the according strings.

Now, as this strings are rendered dynamically Loco Translate cannot grab them, so we have to add them manually in the POT template.

The problem is, that each time we run a Sync, this strings are removed as obsolete.

Is there any way we can keep them – even not being present in the scanned files?

Thanks,
Aldo

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer