wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



pre_determine_locale › Les Filtres WordPress

Depuis5.0.0
Dépréciéen/a
› apply_filters( 'pre_determine_locale', null )
Paramètres:
  • () locale The locale to return and short-circuit. Default null.
    Requis: Oui
Défini(e) dans:
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.




Source

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