mycred_get_point_type_name
Description
This function returns a specific point type’s given name in singular or plural form.
Available since version 1.0
Returns
(string) The point types name.
Parameters
Param | Type | Required | Description | |
---|---|---|---|---|
function mycred_get_point_type_name( |
||||
$point_type |
string | No | The point type key. Defaults to the default point type. |
|
$singular |
bool | No |
|
|
) { ... } |
Examples
No example found.