Description
Returns or prints a requested message string from the WP_Members::get_text() method.
This function is deprecated as of WP-Members 3.4.0, use wpmem_get_text() instead.
Parameters
$str
(string) (required) The array key of the string to retrieve from WP_Members::get_text().
$echo
(bool) (optional) Prints the requested string if true (default: false).
Return Values
(string) The requested message string.
Examples
Notes
List of possible strings by key:
Changelog
- Introduced in version 3.1.1
- Added $echo argument in 3.1.2
- Deprecated in 3.4.0 (use wpmem_get_text() instead)
Source
wpmem_gettext() is located in /includes/deprecated.php.