translations_api_result

SummerySummery

Filters the Translation Installation API response results.

Syntax

apply_filters( 'translations_api_result', object|WP_Error $res, string $type, object $args )

ParametersParameters

$res

(object|WP_Error) Response object or WP_Error.

$type

(string) The type of translations being requested.

$args

(object) Translation API arguments.

SourceSource

File: wp-admin/includes/translation-install.php

ChangelogChangelog

Changelog
Version Description
4.0.0 Introduced.
Scroll to Top