No language setting in TNP Class.
-
Hello again,
Yes, I know I’m helping to flood your plugin’s support section ??
This time it’s not really a support question but a little feature suggestion – for TNP class. I’ve found the relevant information about TNP in Dvelopers section on your website and I used it to build Ajax subscription. It all worked well and TNP is really easy to use. The only thing is lack of language support. Website, I implemented said ajax form on, uses WPML, and while standard newsletter subscription works with multi-language site pretty smoothly, the TNP class needs a little more effort from a developer to make it work as intended.
To support multi-language feature I had to set ‘send_emails’ to false and then make confirmations sent with NewsletterSubscription class, where I pushed messages imported from ‘newsletter_{language_code}’ table into. Not much of a hassle but it would be a lot easier if TNP did that all by default.
Apart from that PHP API is a great idea, I wish more plugins had that kind of help for developers TBH.
Best regards, Dan.
- The topic ‘No language setting in TNP Class.’ is closed to new replies.