LLMS_Post_Model::translate( string $key )
Wrapper for $this-get() which allows translation of the database value before outputting on screen
Description Description
Extending classes should define this and translate any possible strings with a switch statement or something. This will return the untranslated string if a translation isn’t defined.
Parameters Parameters
- $key
-
(Required) Key to retrieve.
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.post.model.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |