wphooks.info - translations_api_result

translations_api_result

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-admin/includes/translation-install.php:
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
	/**
	 * Filters the Translation Installation API response results.
	 *
	 * @since 4.0.0
	 *
	 * @param object|WP_Error $res  Response object or WP_Error.
	 * @param string          $type The type of translations being requested.
	 * @param object          $args Translation API arguments.
	 */
	return apply_filters( 'translations_api_result', $res, $type, $args );
}

/**
 * Get available translations from the WordPress.org API.
 *
 * @since 4.0.0
 *
 * @see translations_api()
 *