A WordPress-centric search engine for devs and theme authors



translations_api ›

Since4.0.0
Deprecatedn/a
apply_filters( 'translations_api', false, $type, $args )
Parameters: (3)
  • (bool|array) $result The result object. 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 );