Title: automatically adding &lt;?php
Last modified: September 22, 2020

---

# automatically adding <?php

 *  [omarkoza](https://wordpress.org/support/users/omarkoza/)
 * (@omarkoza)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/automatically-adding-php/)
 * When I try to create anew snippet and I enter my PHPO code WITHOUt the open or
   closing <?php ?>, whenI save the snipplet automatically adds <php? to th beginning
   of the snippet. I believe this is why my latest snippet is not working. Have 
   you seen this before?

Viewing 1 replies (of 1 total)

 *  [mrretail](https://wordpress.org/support/users/mrretail/)
 * (@mrretail)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/automatically-adding-php/#post-13632583)
 * Hi, I don’t work for these guys but if you go to “Settings” you will see the 
   option to disable “Autoinsert PHP opening tags”, (which is enabled by default).
   
   Hope this helps, Cheers, Bryan

Viewing 1 replies (of 1 total)

The topic ‘automatically adding <?php’ is closed to new replies.

 * ![](https://ps.w.org/insert-php-code-snippet/assets/icon-128x128.png?rev=1800967)
 * [Insert PHP Code Snippet](https://wordpress.org/plugins/insert-php-code-snippet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php-code-snippet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php-code-snippet/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php-code-snippet/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mrretail](https://wordpress.org/support/users/mrretail/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/automatically-adding-php/#post-13632583)
 * Status: not resolved