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