Title: my-hacks.php
Last modified: August 18, 2016

---

# my-hacks.php

 *  [Jacob](https://wordpress.org/support/users/jacob/)
 * (@jacob)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/my-hacksphp-1-2/)
 * Okay, I’m very new to wordpress, and am wanting to use some hacks. However, I
   don’t know what to put in my my-hacks.php. I just need the basic code that you
   start out with.
    Thanks.

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

 *  [oriecat](https://wordpress.org/support/users/oriecat/)
 * (@oriecat)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/my-hacksphp-1-2/#post-39175)
 * I don’t think you need anything in it, other than the hack you are using. I didn’t
   put anything else in mine and it works.
 *  [chuckg](https://wordpress.org/support/users/chuckg/)
 * (@chuckg)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/my-hacksphp-1-2/#post-39176)
 * You should check out the wiki they have setup at [wiki.wordpress.org](http://wiki.wordpress.org),
   and there’s a detailed article about what to do w/ your my-hacks.php file at:
   [http://wiki.wordpress.org/index.php/my-hacks.php?PHPSESSID=b015e0d97ac430d3c3b6869f7a016468](http://wiki.wordpress.org/index.php/my-hacks.php?PHPSESSID=b015e0d97ac430d3c3b6869f7a016468).
 *  Thread Starter [Jacob](https://wordpress.org/support/users/jacob/)
 * (@jacob)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/my-hacksphp-1-2/#post-39178)
 * Okay, I got it working.
    Thank. ^_^
 *  [luhmann](https://wordpress.org/support/users/luhmann/)
 * (@luhmann)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/my-hacksphp-1-2/#post-39975)
 * I can’t get this to work.
 * > First it checks if you have enabled the setting for the my-hacks file. To enable
   > this go to Options > General Blog Settings > hack_file = true. Once this is
   > enabled it checks for a file in your blog root folder called “my-hacks.php”.
   > If this file exists, then whatever code is in it is executed. If the file doesn’t
   > exist then nothing happens.
 * This option doesn’t seem to exist in the latest nightly build, which I’m using.
   There is no where to set hack_file = true that I can find.
 *  [Sushubh](https://wordpress.org/support/users/sushubh/)
 * (@sushubh)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/my-hacksphp-1-2/#post-39976)
 * yup, afaik the option has been removed in the recent hacks.
    and this is related
   to the new hack implementation matt has planned for WP… 🙂 drag and drop kinda
   implementation. i can’t wait. 🙂
 *  [luhmann](https://wordpress.org/support/users/luhmann/)
 * (@luhmann)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/my-hacksphp-1-2/#post-39977)
 * Is there some kind of work-around I can use till the new implementation is ready?
 *  [mage111](https://wordpress.org/support/users/mage111/)
 * (@mage111)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/my-hacksphp-1-2/#post-39978)
 * use the last stable rls?
 *  [luhmann](https://wordpress.org/support/users/luhmann/)
 * (@luhmann)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/my-hacksphp-1-2/#post-39979)
 * I can’t. I need other features in the beta – especially the Movable Type API.
   Surely there is another way to enable these features…?
 *  [luhmann](https://wordpress.org/support/users/luhmann/)
 * (@luhmann)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/my-hacksphp-1-2/#post-39981)
 * I did OK by putting an include command in wp-includes/functions.php (right at
   the bottom). It seems to work fine, but it gives me error messages when I’m in
   the Admin interface – but I can live with that.
 *  [Alli](https://wordpress.org/support/users/alli/)
 * (@alli)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/my-hacksphp-1-2/#post-39985)
 * I don’t have a my-hacks.php file. Should I?
 *  [Sushubh](https://wordpress.org/support/users/sushubh/)
 * (@sushubh)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/my-hacksphp-1-2/#post-39986)
 * if u want to add hacks… then yes. otherwise no.

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

The topic ‘my-hacks.php’ is closed to new replies.

 * 11 replies
 * 7 participants
 * Last reply from: [Sushubh](https://wordpress.org/support/users/sushubh/)
 * Last activity: [22 years, 2 months ago](https://wordpress.org/support/topic/my-hacksphp-1-2/#post-39986)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
