Title: Can I use PHP codes?
Last modified: August 30, 2016

---

# Can I use PHP codes?

 *  Resolved [benedicksahagun](https://wordpress.org/support/users/benedicksahagun/)
 * (@benedicksahagun)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/can-i-use-php-codes/)
 * Hi, I’m just wondering if I can execute php codes, and if its safe?
 * Thanks,
    Ben
 * [https://wordpress.org/plugins/shorty/](https://wordpress.org/plugins/shorty/)

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

 *  Plugin Author [flowdee](https://wordpress.org/support/users/flowdee/)
 * (@flowdee)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/can-i-use-php-codes/#post-6779903)
 * Hey benedicksahagun,
 * when creating a shortcode via the plugins’ pages, you cannot enter php code due
   to the fact that it’s simply the visual editor.
 * What you could do: Additionally preparing a shortcode via your functions.php 
   file and this shortcode can be used and executed by the plugin.
 * But direct php input is not possible and not planned so far.
 * Let me know if you have any further questions.
 *  Thread Starter [benedicksahagun](https://wordpress.org/support/users/benedicksahagun/)
 * (@benedicksahagun)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/can-i-use-php-codes/#post-6779905)
 * Thanks for the suggestion!

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

The topic ‘Can I use PHP codes?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shorty_527bbc.svg)
 * [Shorty - The Shortcode Manager](https://wordpress.org/plugins/shorty/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shorty/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shorty/)
 * [Active Topics](https://wordpress.org/support/plugin/shorty/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shorty/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shorty/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [benedicksahagun](https://wordpress.org/support/users/benedicksahagun/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/can-i-use-php-codes/#post-6779905)
 * Status: resolved