Returns or prints a requested message string from the WP_Members::get_text() method.
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.4.0, replaces wpmem_gettext()
Source
wpmem_get_text() is located in /includes/api/api.php.