translations_api_result

translations_api_result

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

See hook in core

Displaying hooks found in version: wordpress-6.6

apply_filters('translations_api_result') is found 1 times:

  • /wp-admin/includes/translation-install.php line 110
    	 * @param array|WP_Error $res  Response as an associative array 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