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)
  • () loaded The result of loading a .mo file. Default null.
    Richiesto: Sì
  • () domain Text domain. Unique identifier for retrieving translated strings.
    Richiesto: Sì
  • () mofile Path to the MO file.
    Richiesto: Sì
  • () locale Locale.
    Richiesto: Sì
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 );