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



pre_load_textdomain › WordPress Filter Hooks

Da6.3.0
Deprecaton/a
apply_filters( 'pre_load_textdomain', null, $domain, $mofile, $locale )
Parametri: (4)
  • (bool|null) $loaded The result of loading a .mo file. Default null.
    Richiesto:
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
    Richiesto:
  • (string) $mofile Path to the MO file.
    Richiesto:
  • (string|null) $locale Locale.
    Richiesto:
Definito a:
Codex:

Filters whether to short-circuit loading .mo file.

Returning a non-null value from the filter will effectively short-circuit the loading, returning the passed value instead.





Sorgenti

$loaded = apply_filters( 'pre_load_textdomain', null, $domain, $mofile, $locale );