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



pre_load_textdomain › Les Filtres WordPress

Depuis6.3.0
Dépréciéen/a
apply_filters( 'pre_load_textdomain', null, $domain, $mofile, $locale )
Paramètres: (4)
  • (bool|null) $loaded The result of loading a .mo file. Default null.
    Requis: Oui
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
    Requis: Oui
  • (string) $mofile Path to the MO file.
    Requis: Oui
  • (string|null) $locale Locale.
    Requis: Oui
Défini(e) dans:
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.





Source

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