Title: do_shortcode
Last modified: August 23, 2021

---

# do_shortcode

 *  Resolved [patouch](https://wordpress.org/support/users/patouch/)
 * (@patouch)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/do_shortcode-15/)
 * Hello,
 * how is it possible to do the shortcode inside a custom plugin please ?
 * apply_shortcodes don’t works
    tablepress_print_table don’t works

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/do_shortcode-15/#post-14794565)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Normally, `tablepress_print_table()` is the correct function, if you want to 
   print a table somewhere. Note however that this (by default) is only available
   on the frontend, but not e.g. in the admin area. Also, it’s important to wait
   until after the WordPress `init` action hook is fired.
 * Can you maybe explain in more detail what you are trying to do and how you have
   implemented that?
 * Regards,
    Tobias
 *  Thread Starter [patouch](https://wordpress.org/support/users/patouch/)
 * (@patouch)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/do_shortcode-15/#post-14794829)
 * Hello,
 * Thank you very much for your fantastic plugin and for your very quick response
   🙂
 * I’m trying to display the table in the admin area 🙁 And to do specific operations
   on certain cells.
 * More exactly, I’trying to get (in a var) in the backend, the contents of certain
   cells to process them.
 * If you have a premium version, I will be interested.
 * I will try to do it on the frontend in an area reserved for certain members.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/do_shortcode-15/#post-14794867)
 * Hi,
 * thanks for the explanation.
 * If you want to work with the table data, these functions are not the proper way
   to go, because you will only get the rendered data. You might instead want to
   use `TablePress::$model_table->load()`, see [https://github.com/TobiasBg/TablePress/blob/master/models/model-table.php#L309](https://github.com/TobiasBg/TablePress/blob/master/models/model-table.php#L309).
 * An no, at this time, there’s no Premium version.
 * Regards,
    Tobias
 *  Thread Starter [patouch](https://wordpress.org/support/users/patouch/)
 * (@patouch)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/do_shortcode-15/#post-14794964)
 * Great!!! 😀
 * It’s working, that’s exactly what I need!! 🙂
 * Thanks a lot for your job, your plugin and your follow-up of course.
 * I don’t know if you say that in english but “good continuation” 😉
 * Best regard
 * Bye
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/do_shortcode-15/#post-14795023)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias   P.S.: In case you haven’t, please rate TablePress [here](https://wordpress.org/support/plugin/tablepress/reviews/#new-post)
   in the plugin directory. Thanks!
 *  Thread Starter [patouch](https://wordpress.org/support/users/patouch/)
 * (@patouch)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/do_shortcode-15/#post-14795039)
 * done!
 * 5 stars of course 🙂
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/do_shortcode-15/#post-14795535)
 * Hi,
 * thanks, I really appreciate it!
 * Best wishes,
    Tobias

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

The topic ‘do_shortcode’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/do_shortcode-15/#post-14795535)
 * Status: resolved