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



translations_api_result › WordPress Filter Hooks

Da4.0.0
Deprecaton/a
› apply_filters( 'translations_api_result', $res, $type, $args )
Parametri: (3)
  • () res { On success an associative array of translations, WP_Error on failure. @type array $translations { List of translations, each an array of data. @type array ...$0 { @type string $language Language code. @type string $version WordPress version. @type string $updated Date the translation was last updated, in MySQL datetime format. @type string $english_name English name of the language. @type string $native_name Native name of the language. @type string $package URL to download the translation package. @type string[] $iso Array of ISO language codes. @type array $strings Array of translated strings used in the installation process. } } }
    Richiesto: Sì
  • () type The type of translations being requested.
    Richiesto: Sì
  • () args Translation API arguments.
    Richiesto: Sì
Definito a:
Codex:

Filters the Translation Installation API response results.





Sorgenti

return apply_filters( 'translations_api_result', $res, $type, $args );