Preference

the wordpress logo on a purple background

Using WordPress ‘locale’ PHP filter

​The `add_filter` function with the hook name "locale" in WordPress allows developers to modify the locale ID of the WordPress installation by using the `locale` PHP filter