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



translations_api › WordPress Filter Hooks

Since4.0.0
Deprecatedn/a
apply_filters( 'translations_api', false, $type, $args )
Parameters: (3)
  • (false|array) $result The result array. Default false.
    Required: Yes
  • (string) $type The type of translations being requested.
    Required: Yes
  • (object) $args Translation API arguments.
    Required: Yes
Defined at:
Codex:

Allows a plugin to override the WordPress.org Translation Installation API entirely.





Source

$res = apply_filters( 'translations_api', false, $type, $args );