wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



theme_locale › WordPress Filter Hooks

Seit3.0.0
Veraltetn/v
apply_filters( 'theme_locale', determine_locale()
Parameter: (2)
  • (string) $locale The theme's current locale.
    Erforderlich: Ja
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
    Erforderlich: Ja
Definiert in:
Codex:

Filters a theme's locale.





Quellcode

$locale = apply_filters( 'theme_locale', determine_locale(), $domain );