Title: Cant download function.php
Last modified: August 31, 2016

---

# Cant download function.php

 *  [alexaagreen](https://wordpress.org/support/users/alexaagreen/)
 * (@alexaagreen)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/cant-download-functionphp/)
 * Hi, I can´t download the function.php file from bitbucket – anybody knows where
   it is or has a copy of it?
 * [https://wordpress.org/plugins/magento-wordpress-integration/](https://wordpress.org/plugins/magento-wordpress-integration/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [martyp187](https://wordpress.org/support/users/martyp187/)
 * (@martyp187)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/cant-download-functionphp/#post-7083460)
 * Hi Alex,
 * You don’t actually need to download it, as you have the original in Magento, 
   you just need to copy it to the app/code/local/Mage/Core folder and make the 
   adjustments.
 * Step 1: Deactivate the __() function in Magento
 * Step 1, is not to install a plugin, we need to prep our environment first. To
   do this we copy ‘~/your-magento/app/code/core/Mage/Core/functions.php’ into ‘
   ~/your-magento/app/code/local/Mage/Core/functions.php’ and find code for the 
   function __() (around line 90)
 * `function __() { return Mage::app()->getTranslator()->translate(func_get_args());}`
 * We will replace that code with the following
 * `if(!function_exists('__')) { function __() { return Mage::app()->getTranslator()-
   >translate(func_get_args()); } }`
 *  [krischase](https://wordpress.org/support/users/krischase/)
 * (@krischase)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/cant-download-functionphp/#post-7083538)
 * Hey Alex – Shoot us an email at [support@mwi-plugin.com](https://wordpress.org/support/topic/cant-download-functionphp/support@mwi-plugin.com?output_format=md)
   and we can get you pointed in the right direction.
 * Thanks!
 *  [wulfshade](https://wordpress.org/support/users/wulfshade/)
 * (@wulfshade)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/cant-download-functionphp/#post-8929292)
 * Here is their bitbucket repository for the file: [https://bitbucket.org/gigasavvyteam/mwi-functions.php](https://bitbucket.org/gigasavvyteam/mwi-functions.php)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cant download function.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/magento-wordpress-integration_1f262e.
   svg)
 * [Magento Wordpress Integration](https://wordpress.org/plugins/magento-wordpress-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/magento-wordpress-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/magento-wordpress-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/magento-wordpress-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/magento-wordpress-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/magento-wordpress-integration/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [wulfshade](https://wordpress.org/support/users/wulfshade/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/cant-download-functionphp/#post-8929292)
 * Status: not resolved