wpseek.com
A WordPress-centric search engine for devs and theme authors



translations_api_result › WordPress Filter Hooks

Since4.0.0
Deprecatedn/a
apply_filters( 'translations_api_result', $res, $type, $args )
Parameters: (3)
  • (array|WP_Error) $res Response as an associative array or WP_Error.
    Required: Yes
  • (string) $type The type of translations being requested.
    Required: Yes
  • (object) $args Translation API arguments.
    Required: Yes
Defined at:
Codex:

Filters the Translation Installation API response results.





Source

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