Textpattern CMS support forum
- Plugin Author
- From: Porvoo, Finland
- Registered: 2008-12-03
- Posts: 203
How to call a Textpattern function in 4.8.1?
There’s probably a simple way to call a Textpattern function… But how to call a function, like
create_user inside a Textpattern form/page? That function in question is located inside textpattern\lib\txplib_admin.php, so should I just
include_once that whole file?
Re: How to call a Textpattern function in 4.8.1?
kuopassa wrote #323738:
how to call a function, like
create_userinside a Textpattern form/page?
Yep, as you suspect, just
include_once() and you’ll be good to go. If you can possibly hijack the
done callback, that’s better, but I suspect if you’re doing things from the front-end that’s not possible.