wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_determine_locale › WordPress Filter Hooks

Da5.0.0
Deprecaton/a
› apply_filters( 'pre_determine_locale', null )
Parametri:
  • () locale The locale to return and short-circuit. Default null.
    Richiesto: Sì
Definito a:
Codex:

Filters the locale for the current request prior to the default determination process.

Using this filter allows to override the default logic, effectively short-circuiting the function.




Sorgenti

$determined_locale = apply_filters( 'pre_determine_locale', null );