Title: PHP functions instead of Shortcodes?
Last modified: August 31, 2016

---

# PHP functions instead of Shortcodes?

 *  Resolved [ZaddKeefer](https://wordpress.org/support/users/zaddkeefer/)
 * (@zaddkeefer)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php-functions-instead-of-shortcodes/)
 * I am thinking to integrate this onto my site, but instead of shortcodes I am 
   wondering if you guys have some PHP functions to call in my theme?
 * Thanks!
 * [https://wordpress.org/plugins/front-end-only-users/](https://wordpress.org/plugins/front-end-only-users/)
 * _[ [No bumping please](http://codex.wordpress.org/Forum_Welcome#No_Bumping). ]_

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

 *  Plugin Contributor [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-functions-instead-of-shortcodes/#post-7061728)
 * Hi Zadd,
 * You can actually include any shortcode in any of your PHP template files. For
   example, let’s say your shortcode was [shortcode]. Then you could use the following
   to include it in a PHP file:
 * `<?php echo do_shortcode( '[shortcode]' ); ?>`
 * We also have a PHP class available to access all of the user data. There’s a 
   video available on how to use it:
 *  Thread Starter [ZaddKeefer](https://wordpress.org/support/users/zaddkeefer/)
 * (@zaddkeefer)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-functions-instead-of-shortcodes/#post-7061729)
 * Thanks for sharing that, will check it out when I get the time!

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

The topic ‘PHP functions instead of Shortcodes?’ is closed to new replies.

 * ![](https://ps.w.org/front-end-only-users/assets/icon-128x128.png?rev=1805921)
 * [Front End Users](https://wordpress.org/plugins/front-end-only-users/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/front-end-only-users/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/front-end-only-users/)
 * [Active Topics](https://wordpress.org/support/plugin/front-end-only-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/front-end-only-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/front-end-only-users/reviews/)

## Tags

 * [PHP functions](https://wordpress.org/support/topic-tag/php-functions/)
 * [User Login](https://wordpress.org/support/topic-tag/user-login/)

 * 2 replies
 * 2 participants
 * Last reply from: [ZaddKeefer](https://wordpress.org/support/users/zaddkeefer/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/php-functions-instead-of-shortcodes/#post-7061729)
 * Status: resolved