translations_api

translations_api

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.3

apply_filters('translations_api') is found 1 times:

  • /wp-admin/includes/translation-install.php line 36
    	 * @param false|array $result The result array. Default false.
    	 * @param string      $type   The type of translations being requested.
    	 * @param object      $args   Translation API arguments.
    	 */
    	$res = apply_filters( 'translations_api', false, $type, $args );
    
    	if ( false === $res ) {
    		$url      = 'http://api.wordpress.org/translations/' . $type . '/1.0/';
    		$http_url = $url;
    		$ssl      = wp_http_supports( array( 'ssl' ) );
    		if ( $ssl ) {