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

The result object. Default false.

$type

The type of translations being requested.

$args

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