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
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.
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 .
An no, at this time, there’s no Premium version.
Regards,
Tobias
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
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 in the plugin directory. Thanks!
Hi,
thanks, I really appreciate it!
Best wishes,
Tobias