mycred_have_ranks
Description
This function checks if there are published rank post objects for a particular point type.
This function is only available if the Ranks add-on is enabled.
Available since version 1.1
Returns
(bool) TRUE
if there are published ranks else FALSE
.
Parameters
Param | Type | Required | Description | |
---|---|---|---|---|
function mycred_have_ranks( |
||||
$point_type |
string | No | The point type key to check ranks for. Defaults to the default point type. |
|
) { ... } |
Examples
No example found.