Title: PHP shortcode
Last modified: June 29, 2017

---

# PHP shortcode

 *  Resolved [lipos](https://wordpress.org/support/users/lipos/)
 * (@lipos)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/php-shortcode-19/)
 * hello.
    How exactly use php as shortcode with this plugin?
 * for example if I create this shortcode with name “phptest”:
    `[php_code]<?php
   phpinfo(); ?>[/php_code]` and putting him as “[phptest][/phptest]” inside post
   nothing happen only seeing empty “[php_code][/php_code]” as text
 * thanks
    -  This topic was modified 8 years, 10 months ago by [lipos](https://wordpress.org/support/users/lipos/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mithu A Quayium](https://wordpress.org/support/users/mithublue/)
 * (@mithublue)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/php-shortcode-19/#post-9440725)
 * [php_code] shortcode has been discontinued in recent version since it is not 
   secure in some cases.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘PHP shortcode’ is closed to new replies.

 * ![](https://ps.w.org/shortcode-maker/assets/icon-128x128.png?rev=1869402)
 * [Shortcode Maker](https://wordpress.org/plugins/shortcode-maker/)
 * [Support Threads](https://wordpress.org/support/plugin/shortcode-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcode-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcode-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcode-maker/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mithu A Quayium](https://wordpress.org/support/users/mithublue/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/php-shortcode-19/#post-9440725)
 * Status: resolved