WordPress at a glance
filter is not described

translations_api filter-hook . WP 4.0.0

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

Usage

add_filter( 'translations_api', 'filter_function_name_4956', 10, 3 );
function filter_function_name_4956( $result, $type, $args ){
	// filter...

	return $result;
}
$result(true/false/array)
The result object.
Default: false
$type(string)
The type of translations being requested.
$args(object)
Translation API arguments.

Список изменений

С версии 4.0.0 Введена.

Где вызывается хук

translations_api()
translations_api
wp-admin/includes/translation-install.php 36
$res = apply_filters( 'translations_api', false, $type, $args );

Где используется хук в ядре WordPress

Использование не найдено.