Title: &#8220;safely&#8221; add your custom PHP code…yeah, right
Last modified: March 1, 2019

---

# “safely” add your custom PHP code…yeah, right

 *  [magdamunro](https://wordpress.org/support/users/magdamunro/)
 * (@magdamunro)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/safely-add-your-custom-php-codeyeah-right/)
 * This plug-in works great until there’s some mistake in the code. That may very
   well take down the whole site, making it necessary to remove the plug-in from
   disk (ftp or whatever access you have). That’s some ultra-clear test failure 
   of your code.
 * If you can identify where your code goes, then just clearing that would probably
   be sufficient. I don’t know where that is stored though and I see no clue in 
   the supplied docs? I wish that was made clear both in the docs and in the GUI
   so you could just remove and try again. If you do this by hand in ‘functions.
   php’ then it’s easy to just make an edit and try again. This plug-in needs that
   ease. Unfortunately, I just had to move on.
 * Because the error handling is turned over to the server, I can’t recommend this
   on a production site. On your development server this might work fine tough, 
   though the error handling needs to made more obvious so you can clear out the
   code ASAP when an error strikes.
 * Nice work, but proceed with caution!
 * WP 5.1/PHP 7.2.10

The topic ‘“safely” add your custom PHP code…yeah, right’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/my-custom-functions_0e1030.svg)
 * [My Custom Functions](https://wordpress.org/plugins/my-custom-functions/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/my-custom-functions/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/my-custom-functions/)
 * [Active Topics](https://wordpress.org/support/plugin/my-custom-functions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/my-custom-functions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/my-custom-functions/reviews/)

 * 0 replies
 * 1 participant
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/safely-add-your-custom-php-codeyeah-right/)