Title: Where does PHP code store?
Last modified: January 31, 2019

---

# Where does PHP code store?

 *  Resolved [Giang Le](https://wordpress.org/support/users/gianghl1983/)
 * (@gianghl1983)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/where-does-php-code-store/)
 * Hi,
 * I wonder where the plugins store PHP snippet code? (In database or in php file
   like function.php)
 * Thank you!

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

 *  [Kirill [Webcraftic support]](https://wordpress.org/support/users/kirillgru/)
 * (@kirillgru)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/where-does-php-code-store/#post-11156155)
 * Hi
 * Snippets are stored in the database.
 * Best regards
 *  Thread Starter [Giang Le](https://wordpress.org/support/users/gianghl1983/)
 * (@gianghl1983)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/where-does-php-code-store/#post-11156553)
 * Is it safe, good performance to save snippet that way? I worry about security,
   excution time…:D
 *  Plugin Author [webcraftic](https://wordpress.org/support/users/webcraftic/)
 * (@webcraftic)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/where-does-php-code-store/#post-11187168)
 * Hi,
 * The safety of working with our plugin depends on you. You have to write safe 
   php code and not allow outsiders to your admin panel, that no one had the opportunity
   to create php snippets other than you.
 * —
    Best regards, Alex
 * Webcraftic team
 *  Thread Starter [Giang Le](https://wordpress.org/support/users/gianghl1983/)
 * (@gianghl1983)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/where-does-php-code-store/#post-11187402)
 * Okie, thank you :)!

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

The topic ‘Where does PHP code store?’ is closed to new replies.

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3475630)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Giang Le](https://wordpress.org/support/users/gianghl1983/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/where-does-php-code-store/#post-11187402)
 * Status: resolved