Description
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.1.1
Added $echo argument in 3.1.2
Source
wpmem_gettext() is located in /inc/api.php.