translations_api

Advertisement

Summery Summery

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

Syntax Syntax

apply_filters( 'translations_api', bool|array $result, string $type, object $args )

Parameters Parameters

$result

(bool|array) The result object. Default false.

$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.