translations_api_result

Advertisement

Summery Summery

Filters the Translation Installation API response results.

Syntax Syntax

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

Parameters Parameters

$res

(object|WP_Error) Response object or WP_Error.

$type

(string) The type of translations being requested.

$args

(object) Translation API arguments.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.